We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 359b2ba commit 6f2c82dCopy full SHA for 6f2c82d
setup.py
@@ -87,7 +87,7 @@ class BuildExt(build_ext):
87
}
88
89
if sys.platform == 'darwin':
90
- if platform.machine() == 'arm64':
+ if platform.machine() == 'arm64' and '-march=native' in c_opts['unix']:
91
c_opts['unix'].remove('-march=native')
92
c_opts['unix'] += ['-stdlib=libc++', '-mmacosx-version-min=10.7']
93
link_opts['unix'] += ['-stdlib=libc++', '-mmacosx-version-min=10.7']
0 commit comments