mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-05 15:06:48 +00:00
Don't use -march=native on macOS
This commit is contained in:
parent
c2cdd880bf
commit
ad5790eee6
2
wscript
2
wscript
@ -362,7 +362,7 @@ def configure(conf):
|
|||||||
]
|
]
|
||||||
|
|
||||||
flags += ['-funwind-tables', '-fvisibility=default']
|
flags += ['-funwind-tables', '-fvisibility=default']
|
||||||
elif conf.env.COMPILER_CC not in ['msvc', 'clang']:
|
elif conf.env.COMPILER_CC != 'msvc' and conf.env.DEST_OS != 'darwin':
|
||||||
flags += ['-march=native']
|
flags += ['-march=native']
|
||||||
|
|
||||||
if conf.env.DEST_CPU in ['x86', 'x86_64']:
|
if conf.env.DEST_CPU in ['x86', 'x86_64']:
|
||||||
|
Loading…
Reference in New Issue
Block a user