From 1136b9642b6fec0ee062bbc84c8f5ea9723b1378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Wed, 21 May 2008 18:00:40 +0000 Subject: [PATCH] Fix precompiled header name. According to http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html , precompiled header name *must be* the name of the header followed by .gch See issue #3263 for more details. svn path=/trunk/; revision=33627 --- reactos/tools/rbuild/backend/mingw/modulehandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp index 254e44e1d22..c7968b03689 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp @@ -1250,7 +1250,7 @@ MingwModuleHandler::GetPrecompiledHeaderFilename () const return NULL; return new FileLocation ( IntermediateDirectory, module.pch->file->relative_path, - ReplaceExtension ( module.pch->file->name, "_" + module.name + ".gch" ) ); + module.pch->file->name + ".gch" ); } Rule arRule1 ( "$(INTERMEDIATE)$(SEP)$(source_dir)$(SEP)$(source_name_noext).a: $($(module_name)_OBJS) | $(INTERMEDIATE)$(SEP)$(source_dir)\n",