Skip to content

Commit 9324b14

Browse files
Add flags for testing
1 parent d86b66e commit 9324b14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tools/jit/_targets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ def get_target(host: str) -> _COFF32 | _COFF64 | _ELF | _MachO:
573573
elif re.fullmatch(r"x86_64-apple-darwin.*", host):
574574
host = "x86_64-apple-darwin"
575575
condition = "defined(__x86_64__) && defined(__APPLE__)"
576+
args = ["-fno-pic", "-mcmodel=medium", "-mlarge-data-threshold=0", "-fno-plt"]
576577
optimizer = _optimizers.OptimizerX86
577578
target = _MachO(host, condition, optimizer=optimizer)
578579
elif re.fullmatch(r"x86_64-pc-windows-msvc", host):

0 commit comments

Comments
 (0)