fixed oarch being use. some have remove oarch flags when ros being compile. now we add it back. for mingw

svn path=/trunk/; revision=25685
This commit is contained in:
Magnus Olsen 2007-02-02 09:31:22 +00:00
parent c0bd47734e
commit 9c745033ff

View file

@ -425,6 +425,7 @@ MingwBackend::GenerateGlobalVariables () const
fprintf ( fMakefile, "PROJECT_LFLAGS := %s\n",
GenerateProjectLFLAGS ().c_str () );
fprintf ( fMakefile, "PROJECT_CFLAGS += -Wall\n" );
fprintf ( fMakefile, "PROJECT_CFLAGS += -march=$(OARCH)\n" );
fprintf ( fMakefile, "PROJECT_CFLAGS += $(PROJECT_GCCOPTIONS)\n" );
fprintf ( fMakefile, "\n" );
}