From 5ea7c6804c9e974a57ed22e07ecf36fa2bc7114d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 21 Jun 2024 10:45:08 +0200 Subject: [PATCH] Disable libffi support for powerpc-linux-gnueabi(hf). --- build.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.zig b/build.zig index 7023114..3a08cba 100644 --- a/build.zig +++ b/build.zig @@ -132,6 +132,8 @@ pub fn build(b: *std.Build) anyerror!void { .arm, .armeb => target.getFloatAbi() != .soft and target.os.tag != .windows, // TODO: https://github.com/llvm/llvm-project/issues/58377 .mips, .mipsel, .mips64, .mips64el => false, + // TODO: https://github.com/ziglang/zig/issues/20376 + .powerpc, .powerpcle => !target.isGnuLibC(), // TODO: https://github.com/ziglang/zig/issues/19107 .riscv32, .riscv64 => !target.isGnuLibC(), else => true,