diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-11-03 14:25:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-03 14:25:30 +0100 |
| commit | 2f003f39b28176f08de51271eb66b5f3a54c7aae (patch) | |
| tree | 8aa5be07f5749b49a2103bda726771473f29bbbd /src/libunwind.zig | |
| parent | 947b7195bf4628cc4658fec9e2f5b30a1318132b (diff) | |
| parent | 621487d5abcf9006b3e38f96c49a533c1835e7a3 (diff) | |
| download | zig-2f003f39b28176f08de51271eb66b5f3a54c7aae.tar.gz zig-2f003f39b28176f08de51271eb66b5f3a54c7aae.zip | |
Merge pull request #21599 from alexrp/thumb-porting
Diffstat (limited to 'src/libunwind.zig')
| -rw-r--r-- | src/libunwind.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libunwind.zig b/src/libunwind.zig index fba604e725..d7b22e2067 100644 --- a/src/libunwind.zig +++ b/src/libunwind.zig @@ -136,7 +136,7 @@ pub fn buildStaticLib(comp: *Compilation, prog_node: std.Progress.Node) BuildErr if (!comp.config.any_non_single_threaded) { try cflags.append("-D_LIBUNWIND_HAS_NO_THREADS"); } - if (target.cpu.arch.isArmOrThumb() and target.abi.floatAbi() == .hard) { + if (target.cpu.arch.isArm() and target.abi.floatAbi() == .hard) { try cflags.append("-DCOMPILER_RT_ARMHF_TARGET"); } try cflags.append("-Wno-bitwise-conditional-parentheses"); |
