| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -525,7 +525,12 @@ def get_target(host: str) -> _COFF | _ELF | _MachO: | |||
| 525 | 525 | args = ["-fms-runtime-lib=dll"] | |
| 526 | 526 | target = _COFF(host, alignment=8, args=args) | |
| 527 | 527 | elif re.fullmatch(r"aarch64-.*-linux-gnu", host): | |
| 528 | - args = ["-fpic"] | ||
| 528 | + args = [ | ||
| 529 | + "-fpic", | ||
| 530 | + # On aarch64 Linux, intrinsics were being emitted and this flag | ||
| 531 | + # was required to disable them. | ||
| 532 | + "-mno-outline-atomics", | ||
| 533 | + ] | ||
| 529 | 534 | target = _ELF(host, alignment=8, args=args) | |
| 530 | 535 | elif re.fullmatch(r"i686-pc-windows-msvc", host): | |
| 531 | 536 | args = ["-DPy_NO_ENABLE_SHARED"] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments