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
This commit is contained in:
Hervé Poussineau
2008-05-21 18:00:40 +00:00
parent b18f57e3fc
commit 1136b9642b
@@ -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",