diff --git a/wscript b/wscript index 6ec61517..aa068250 100644 --- a/wscript +++ b/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']: