@@ -3639,13 +3639,11 @@ proc check_effective_target_arm_vect_no_misalign { } {
# multilibs may be incompatible with this option.
proc check_effective_target_arm_soft_ok { } {
- if { [check_effective_target_arm32] } {
- return [check_no_compiler_messages arm_soft_ok executable {
- int main() { return 0;}
+ return [check_no_compiler_messages arm_soft_ok object {
+ #include <stdint.h>
+ int dummy;
+ int main (void) { return 0; }
} "-mfloat-abi=soft"]
- } else {
- return 0
- }
}
# Return 1 if this is an ARM target supporting -mfpu=vfp with an