Browse Source

Don't use -march=native on macOS

pull/143/head
exstrim401 2 years ago committed by nillerusr
parent
commit
ad5790eee6
  1. 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…
Cancel
Save