Skip to content

Commit ad5790e

Browse files
exstrim401nillerusr
authored andcommitted
Don't use -march=native on macOS
1 parent c2cdd88 commit ad5790e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def configure(conf):
362362
]
363363

364364
flags += ['-funwind-tables', '-fvisibility=default']
365-
elif conf.env.COMPILER_CC not in ['msvc', 'clang']:
365+
elif conf.env.COMPILER_CC != 'msvc' and conf.env.DEST_OS != 'darwin':
366366
flags += ['-march=native']
367367

368368
if conf.env.DEST_CPU in ['x86', 'x86_64']:

0 commit comments

Comments
 (0)