mirror of
https://github.com/reactos/reactos.git
synced 2024-09-02 08:38:28 +00:00
GAS should also receive the -march flag, not just the compiler... otherwise, gcc won't let you use things like "cmov" on x86, or anything beyond the armv4 instruction set on ARM
svn path=/trunk/; revision=41877
This commit is contained in:
parent
f00eeb0707
commit
0e36ca655c
|
@ -456,6 +456,7 @@ MingwBackend::GenerateGlobalVariables () const
|
|||
if ( ProjectNode.configuration.Compiler == GnuGcc )
|
||||
{
|
||||
fprintf ( fMakefile, "ifneq ($(OARCH),)\n" );
|
||||
fprintf ( fMakefile, "PROJECT_ASFLAGS += -march=$(OARCH)\n" );
|
||||
fprintf ( fMakefile, "PROJECT_CFLAGS += -march=$(OARCH)\n" );
|
||||
fprintf ( fMakefile, "PROJECT_CXXFLAGS += -march=$(OARCH)\n" );
|
||||
fprintf ( fMakefile, "endif\n" );
|
||||
|
|
Loading…
Reference in a new issue