mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
compiler: disable self-hosted x86_64 backend on OpenBSD
Same as 97ecb6c551 for NetBSD.
This commit is contained in:
parent
6ec275ebd8
commit
a9773944dc
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ pub fn hasLldSupport(ofmt: std.Target.ObjectFormat) bool {
|
|||
pub fn selfHostedBackendIsAsRobustAsLlvm(target: *const std.Target) bool {
|
||||
if (target.cpu.arch.isSpirV()) return true;
|
||||
if (target.cpu.arch == .x86_64 and target.ptrBitWidth() == 64) {
|
||||
if (target.os.tag == .netbsd) {
|
||||
if (target.os.tag == .netbsd or target.os.tag == .openbsd) {
|
||||
// Self-hosted linker needs work: https://github.com/ziglang/zig/issues/24341
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue