Add support for Debian's armhf in configure.ac
authorStephane Glondu <steph@glondu.net>
Wed, 24 Jul 2019 07:29:30 +0000 (09:29 +0200)
committerStephane Glondu <steph@glondu.net>
Wed, 24 Jul 2019 07:30:31 +0000 (09:30 +0200)
debian/patches/0006-Add-support-for-Debian-s-armhf-in-configure.ac.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0006-Add-support-for-Debian-s-armhf-in-configure.ac.patch b/debian/patches/0006-Add-support-for-Debian-s-armhf-in-configure.ac.patch
new file mode 100644 (file)
index 0000000..ae7d3b5
--- /dev/null
@@ -0,0 +1,21 @@
+From: Stephane Glondu <steph@glondu.net>
+Date: Wed, 24 Jul 2019 09:29:16 +0200
+Subject: Add support for Debian's armhf in configure.ac
+
+---
+ configure.ac | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 70bd63f..ca972d0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -871,6 +871,8 @@ AS_CASE([$host],
+     [arch=arm; model=armv5te; system=linux_eabi],
+   [armv5*-*-linux-gnueabi],
+     [arch=arm; model=armv5; system=linux_eabi],
++  [arm*-*-linux-gnueabihf],
++    [arch=arm; system=linux_eabihf],
+   [arm*-*-linux-gnueabi],
+     [arch=arm; system=linux_eabi],
+   [arm*-*-openbsd*],
index 45629306e1ef3fb140807289e5c109c126e90264..2bf3940080cdac9254ce2c953e7fb56e9381492e 100644 (file)
@@ -3,3 +3,4 @@
 0003-Fix-in-configure.am.patch
 0013-Use-CCLINKFLAGS-for-linking-all-executables-and-shar.patch
 0005-Check-for-definition-of-AT_SECURE-before-using-it.patch
+0006-Add-support-for-Debian-s-armhf-in-configure.ac.patch