File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -139,9 +139,6 @@ async def _compile(
139
139
"-fno-plt" ,
140
140
# Don't call stack-smashing canaries that we can't find or patch:
141
141
"-fno-stack-protector" ,
142
- # On aarch64 Linux, intrinsics were being emitted and this flag
143
- # was required to disable them.
144
- "-mno-outline-atomics" ,
145
142
"-std=c11" ,
146
143
* self .args ,
147
144
]
@@ -527,7 +524,12 @@ def get_target(host: str) -> _COFF | _ELF | _MachO:
527
524
args = ["-fms-runtime-lib=dll" ]
528
525
target = _COFF (host , alignment = 8 , args = args )
529
526
elif re .fullmatch (r"aarch64-.*-linux-gnu" , host ):
530
- args = ["-fpic" ]
527
+ args = [
528
+ "-fpic" ,
529
+ # On aarch64 Linux, intrinsics were being emitted and this flag
530
+ # was required to disable them.
531
+ "-mno-outline-atomics" ,
532
+ ]
531
533
target = _ELF (host , alignment = 8 , args = args )
532
534
elif re .fullmatch (r"i686-pc-windows-msvc" , host ):
533
535
args = ["-DPy_NO_ENABLE_SHARED" ]
You can’t perform that action at this time.
0 commit comments