small fix

This commit is contained in:
IgorCielniak
2025-12-29 14:19:49 +00:00
parent acbd6f57da
commit 1376c7bbc5

View File

@@ -2625,10 +2625,6 @@ def run_linker(obj_path: Path, exe_path: Path, debug: bool = False, libs=None):
if use_lld: if use_lld:
cmd.extend(["-m", "elf_x86_64"]) cmd.extend(["-m", "elf_x86_64"])
else:
raise RuntimeError(
"GNU ld does not support x86_64 on this platform. Install lld."
)
cmd.extend([ cmd.extend([
"-o", str(exe_path), "-o", str(exe_path),