mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
libunwind: Fix an isARM() check to use isArmOrThumb() instead.
This commit is contained in:
parent
7cc257957e
commit
5cd92a6b51
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user