mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +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
1 changed files with 1 additions and 0 deletions
|
@ -456,6 +456,7 @@ MingwBackend::GenerateGlobalVariables () const
|
||||||
if ( ProjectNode.configuration.Compiler == GnuGcc )
|
if ( ProjectNode.configuration.Compiler == GnuGcc )
|
||||||
{
|
{
|
||||||
fprintf ( fMakefile, "ifneq ($(OARCH),)\n" );
|
fprintf ( fMakefile, "ifneq ($(OARCH),)\n" );
|
||||||
|
fprintf ( fMakefile, "PROJECT_ASFLAGS += -march=$(OARCH)\n" );
|
||||||
fprintf ( fMakefile, "PROJECT_CFLAGS += -march=$(OARCH)\n" );
|
fprintf ( fMakefile, "PROJECT_CFLAGS += -march=$(OARCH)\n" );
|
||||||
fprintf ( fMakefile, "PROJECT_CXXFLAGS += -march=$(OARCH)\n" );
|
fprintf ( fMakefile, "PROJECT_CXXFLAGS += -march=$(OARCH)\n" );
|
||||||
fprintf ( fMakefile, "endif\n" );
|
fprintf ( fMakefile, "endif\n" );
|
||||||
|
|
Loading…
Reference in a new issue