We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1adf827 commit b9bfacfCopy full SHA for b9bfacf
Tools/jit/_targets.py
@@ -585,8 +585,9 @@ def get_target(host: str) -> _COFF32 | _COFF64 | _ELF | _MachO:
585
elif re.fullmatch(r"x86_64-apple-darwin.*", host):
586
host = "x86_64-apple-darwin"
587
condition = "defined(__x86_64__) && defined(__APPLE__)"
588
+ args = ["-mcmodel=large"]
589
optimizer = _optimizers.OptimizerX86
- target = _MachO(host, condition, optimizer=optimizer)
590
+ target = _MachO(host, condition, args=args, optimizer=optimizer)
591
elif re.fullmatch(r"x86_64-pc-windows-msvc", host):
592
host = "x86_64-pc-windows-msvc"
593
condition = "defined(_M_X64)"
0 commit comments