mirror of
https://github.com/ziglang/zig.git
synced 2025-02-15 09:00:16 +00:00
parent
e2b9c153bd
commit
264dd2eb57
@ -150,6 +150,10 @@ static const char *getLDMOption(const ZigTarget *t) {
|
|||||||
if (t->env_type == ZigLLVM_GNUX32) {
|
if (t->env_type == ZigLLVM_GNUX32) {
|
||||||
return "elf32_x86_64";
|
return "elf32_x86_64";
|
||||||
}
|
}
|
||||||
|
// Any target elf will use the freebsd osabi if suffixed with "_fbsd".
|
||||||
|
if (t->os == OsFreeBSD) {
|
||||||
|
return "elf_x86_64_fbsd";
|
||||||
|
}
|
||||||
return "elf_x86_64";
|
return "elf_x86_64";
|
||||||
default:
|
default:
|
||||||
zig_unreachable();
|
zig_unreachable();
|
||||||
|
Loading…
Reference in New Issue
Block a user