Commit 5cd92a6b51
Changed files (1)
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");