mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-03 14:06:44 +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']
|
||||
elif conf.env.COMPILER_CC not in ['msvc', 'clang']:
|
||||
elif conf.env.COMPILER_CC != 'msvc' and conf.env.DEST_OS != 'darwin':
|
||||
flags += ['-march=native']
|
||||
|
||||
if conf.env.DEST_CPU in ['x86', 'x86_64']:
|
||||
|
Loading…
Reference in New Issue
Block a user