8000
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 690a5fa commit 442746aCopy full SHA for 442746a
Lib/_osx_support.py
@@ -128,7 +128,7 @@ def _get_system_version_tuple():
128
_SYSTEM_VERSION_TUPLE = ()
129
130
return _SYSTEM_VERSION_TUPLE
131
-
+
132
133
def _remove_original_values(_config_vars):
134
"&qu 7080 ot;"Remove original unmodified values for testing"""
@@ -357,7 +357,7 @@ def compiler_fixup(compiler_so, cc_args):
357
358
elif not _supports_arm64_builds():
359
# Look for "-arch arm64" and drop that
360
- for idx in range(len(compiler_so)):
+ for idx in reversed(range(len(compiler_so))):
361
if compiler_so[idx] == '-arch' and compiler_so[idx+1] == "arm64":
362
del compiler_so[idx:idx+2]
363
0 commit comments