diff --git a/build.rs b/build.rs index 2b17e0be9..dd8d4e0f7 100644 --- a/build.rs +++ b/build.rs @@ -33,7 +33,10 @@ fn target_has_atomic_cas(target: &str) -> bool { fn target_has_atomics(target: &str) -> bool { match &target[..] { - "msp430-none-elf" | "riscv32i-unknown-none-elf" | "riscv32imc-unknown-none-elf" => false, + "thumbv4t-none-eabi" + | "msp430-none-elf" + | "riscv32i-unknown-none-elf" + | "riscv32imc-unknown-none-elf" => false, _ => true, } }