Skip to content

Commit

Permalink
Disable libffi support for powerpc-linux-gnueabi(hf).
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jun 21, 2024
1 parent f0d6b62 commit 5ea7c68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5ea7c68

Please sign in to comment.