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.
Unified · Split
| @@ -335,7 +335,7 @@ if test -z "$cross_prefix" ; then · 334 unmodified lines | ||
| 335 | 335 | |
| 336 | 336 | if test "$cpu" = "arm" ; then |
| 337 | 337 | if test "${triplet%eabihf}" != "$triplet" ; then |
| 338 | − confvars="$confvars arm_eabihf" | |
| 338 | + confvars="$confvars arm_eabihf arm_vfp" | |
| 339 | 339 | elif test "${triplet%eabi}" != "$triplet" ; then |
| 340 | 340 | confvars="$confvars arm_eabi" |
| 341 | 341 | fi |