summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-03-15 23:02:56 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-03-15 23:06:12 +0000
commitc13c5e1441cc9ead8d8a9835843c16a70fc7ae9b (patch)
treec86e2cdc3e96b62ac63d82e9fa7689a365092568
parent55cae8e439664b764d4bd11306c754c97f0df15d (diff)
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. Origin: http://repo.or.cz/tinycc.git/commit/c41caac02d53373b296ccb179b730ada62137cc0 Forwarded: http://repo.or.cz/tinycc.git/commit/c41caac02d53373b296ccb179b730ada62137cc0 Last-Updated: 2018-03-15 Applied-Upstream: commit:c41caac02d53373b296ccb179b730ada62137cc0
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1ee3acb..63881a2 100755
--- a/configure
+++ b/configure
@@ -335,7 +335,7 @@ if test -z "$cross_prefix" ; then
if test "$cpu" = "arm" ; then
if test "${triplet%eabihf}" != "$triplet" ; then
- confvars="$confvars arm_eabihf"
+ confvars="$confvars arm_eabihf arm_vfp"
elif test "${triplet%eabi}" != "$triplet" ; then
confvars="$confvars arm_eabi"
fi