Don't use -march=native on macOS
This commit is contained in:
parent
ffa1cd6220
commit
320753e42e
1 changed files with 1 additions and 1 deletions
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 a new issue