aboutsummaryrefslogtreecommitdiff
path: root/src/libunwind.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-08-07 01:08:44 -0700
committerGitHub <noreply@github.com>2024-08-07 01:08:44 -0700
commitb071b10ce83609199577ff077fb117ed62c98fe7 (patch)
treee7ab9b6278e96a518e9a668783715d7d23b204b5 /src/libunwind.zig
parent8268d7be52fdcff9dde3020f65aeb48b76f4397e (diff)
parent7d88bd0b9c4ca12235769a04c45842dab3b54827 (diff)
downloadzig-b071b10ce83609199577ff077fb117ed62c98fe7.tar.gz
zig-b071b10ce83609199577ff077fb117ed62c98fe7.zip
Merge pull request #20894 from alexrp/target-cleanup-4
`std.Target`: Minor rework to some `isArch()` functions, fix some related issues throughout `std`
Diffstat (limited to 'src/libunwind.zig')
-rw-r--r--src/libunwind.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libunwind.zig b/src/libunwind.zig
index 7783876827..dd2ed39130 100644
--- a/src/libunwind.zig
+++ b/src/libunwind.zig
@@ -131,7 +131,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.isARM() and target.abi.floatAbi() == .hard) {
+ if (target.cpu.arch.isArmOrThumb() and target.abi.floatAbi() == .hard) {
try cflags.append("-DCOMPILER_RT_ARMHF_TARGET");
}
try cflags.append("-Wno-bitwise-conditional-parentheses");