backport: target-supports.exp (check_effective_target_arm_hard_vfp_ok): Return 0 if already specifying -mfloat-abi other than hard.
Backport from mainline 2012-10-12 Janis Johnson <janisjo@codesourcery.com> * lib/target-supports.exp (check_effective_target_arm_hard_vfp_ok): Return 0 if already specifying -mfloat-abi other than hard. From-SVN: r195456
This commit is contained in:
parent
fc45b0e4df
commit
aa04fc1043
|
@ -1,5 +1,11 @@
|
|||
2013-01-24 Janis Johnson <janisjo@codesourcery.com>
|
||||
|
||||
Backport from mainline
|
||||
2012-10-12 Janis Johnson <janisjo@codesourcery.com>
|
||||
|
||||
* lib/target-supports.exp (check_effective_target_arm_hard_vfp_ok):
|
||||
Return 0 if already specifying -mfloat-abi other than hard.
|
||||
|
||||
Backport from mainline
|
||||
2012-09-27 Janis Johnson <janisjo@codesourcery.com>
|
||||
|
||||
|
|
|
@ -2062,6 +2062,7 @@ proc check_effective_target_arm_vfp_ok { } {
|
|||
|
||||
proc check_effective_target_arm_hard_vfp_ok { } {
|
||||
if { [check_effective_target_arm32] } {
|
||||
&& ! [check-flags [list "" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=hard" }]] } {
|
||||
return [check_no_compiler_messages arm_hard_vfp_ok executable {
|
||||
int main() { return 0;}
|
||||
} "-mfpu=vfp -mfloat-abi=hard"]
|
||||
|
|
Loading…
Reference in New Issue