Select VFP if triplet is arm-linux-gnueabihf

A target triplet of arm-linux-gnueabihf indicates that the compiler
should use the VFP variant of the calling convention which as its name
implies requires VFP. This commit enables VFP when triplet is
arm-linux-gnueabihf.
This commit is contained in:
Thomas Preud'homme 2018-03-15 23:02:56 +00:00
parent e76058c478
commit c41caac02d

2
configure vendored
View File

@ -335,7 +335,7 @@ if test -z "$cross_prefix" ; then
if test "$cpu" = "arm" ; then if test "$cpu" = "arm" ; then
if test "${triplet%eabihf}" != "$triplet" ; then if test "${triplet%eabihf}" != "$triplet" ; then
confvars="$confvars arm_eabihf" confvars="$confvars arm_eabihf arm_vfp"
elif test "${triplet%eabi}" != "$triplet" ; then elif test "${triplet%eabi}" != "$triplet" ; then
confvars="$confvars arm_eabi" confvars="$confvars arm_eabi"
fi fi