diff options
Diffstat (limited to 'lang/python313/files/patch-Tools_jit___targets.py')
| -rw-r--r-- | lang/python313/files/patch-Tools_jit___targets.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/python313/files/patch-Tools_jit___targets.py b/lang/python313/files/patch-Tools_jit___targets.py new file mode 100644 index 000000000000..1e514db1f026 --- /dev/null +++ b/lang/python313/files/patch-Tools_jit___targets.py @@ -0,0 +1,12 @@ +--- Tools/jit/_targets.py.orig 2025-04-08 13:54:08 UTC ++++ Tools/jit/_targets.py +@@ -538,6 +538,9 @@ def get_target(host: str) -> _COFF | _ELF | _MachO: + elif re.fullmatch(r"x86_64-.*-linux-gnu", host): + args = ["-fpic"] + target = _ELF(host, args=args, ghccc=True) ++ elif re.fullmatch(r"amd64-.*-freebsd.*", host): ++ args = ["-fpic"] ++ target = _ELF(host, args=args, ghccc=True) + else: + raise ValueError(host) + return target |
