We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a146431 commit 5ae4a58Copy full SHA for 5ae4a58
src/libcompiler_builtins/build.rs
@@ -293,6 +293,12 @@ fn main() {
293
}
294
295
if target.contains("arm") && !target.contains("ios") {
296
+ // (At least) udivsi3.S is broken for Thumb 1 which our gcc uses by
297
+ // default, we don't want Thumb 2 since it isn't supported on some
298
+ // devices, so disable thumb entirely.
299
+ // Upstream bug: https://bugs.llvm.org/show_bug.cgi?id=32492
300
+ cfg.define("__ARM_ARCH_ISA_THUMB", Some("0"));
301
+
302
sources.extend(&["arm/aeabi_cdcmp.S",
303
"arm/aeabi_cdcmpeq_check_nan.c",
304
"arm/aeabi_cfcmp.S",
0 commit comments