diff options
Diffstat (limited to 'debian/patches/0006-Select-VFP-if-triplet-is-arm-linux-gnueabihf.patch')
-rw-r--r-- | debian/patches/0006-Select-VFP-if-triplet-is-arm-linux-gnueabihf.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/0006-Select-VFP-if-triplet-is-arm-linux-gnueabihf.patch b/debian/patches/0006-Select-VFP-if-triplet-is-arm-linux-gnueabihf.patch new file mode 100644 index 0000000..732da6c --- /dev/null +++ b/debian/patches/0006-Select-VFP-if-triplet-is-arm-linux-gnueabihf.patch @@ -0,0 +1,31 @@ +From c13c5e1441cc9ead8d8a9835843c16a70fc7ae9b Mon Sep 17 00:00:00 2001 +From: Thomas Preud'homme <robotux@celest.fr> +Date: Thu, 15 Mar 2018 23:02:56 +0000 +Subject: 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 +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index 1ee3acb8..63881a29 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 |