Skip to content

Commit 0b773f9

Browse files
remove fno-pic
1 parent 081ee86 commit 0b773f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tools/jit/_targets.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,9 +585,8 @@ def get_target(host: str) -> _COFF32 | _COFF64 | _ELF | _MachO:
585585
elif re.fullmatch(r"x86_64-apple-darwin.*", host):
586586
host = "x86_64-apple-darwin"
587587
condition = "defined(__x86_64__) && defined(__APPLE__)"
588-
args = ["-fno-pic"]
589588
optimizer = _optimizers.OptimizerX86
590-
target = _MachO(host, condition, args=args, optimizer=optimizer)
589+
target = _MachO(host, condition, optimizer=optimizer)
591590
elif re.fullmatch(r"x86_64-pc-windows-msvc", host):
592591
host = "x86_64-pc-windows-msvc"
593592
condition = "defined(_M_X64)"

0 commit comments

Comments
 (0)