summaryrefslogtreecommitdiff
path: root/experimental/firefox-esr/fix-arm-version-detect.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-26 22:21:04 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-26 22:22:59 +0000
commite4650554521c89f1f774bdd143b1359141091e15 (patch)
tree1b9a12209af70b90916182b405f01ac155264178 /experimental/firefox-esr/fix-arm-version-detect.patch
parent954c88d73be84cad6a6cf0b3f2d71ae544190120 (diff)
downloadpackages-e4650554521c89f1f774bdd143b1359141091e15.tar.gz
packages-e4650554521c89f1f774bdd143b1359141091e15.tar.bz2
packages-e4650554521c89f1f774bdd143b1359141091e15.tar.xz
packages-e4650554521c89f1f774bdd143b1359141091e15.zip
experimental/firefox-esr: add ESR 60, which does not work [https://bugzilla.mozilla.org/1499121]
Diffstat (limited to 'experimental/firefox-esr/fix-arm-version-detect.patch')
-rw-r--r--experimental/firefox-esr/fix-arm-version-detect.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/experimental/firefox-esr/fix-arm-version-detect.patch b/experimental/firefox-esr/fix-arm-version-detect.patch
new file mode 100644
index 000000000..c0c2a2e83
--- /dev/null
+++ b/experimental/firefox-esr/fix-arm-version-detect.patch
@@ -0,0 +1,13 @@
+diff --git a/build/autoconf/arch.m4 b/build/autoconf/arch.m4
+index b62ea71..53179a7 100644
+--- a/build/autoconf/arch.m4
++++ b/build/autoconf/arch.m4
+@@ -215,7 +215,7 @@ if test "$CPU_ARCH" = "arm"; then
+
+ AC_MSG_CHECKING(ARM version support in compiler)
+ dnl Determine the target ARM architecture (5 for ARMv5, v5T, v5E, etc.; 6 for ARMv6, v6K, etc.)
+- ARM_ARCH=`${CC-cc} ${CFLAGS} -dM -E - < /dev/null | sed -n 's/.*__ARM_ARCH_\([[0-9]][[0-9]]*\).*/\1/p'`
++ ARM_ARCH=`${CC-cc} ${CFLAGS} -dM -E - < /dev/null | sed -n 's/.*__ARM_ARCH_\([[0-9]][[0-9]]*\).*/\1/p' | head -n 1`
+ AC_MSG_RESULT("$ARM_ARCH")
+
+ AC_MSG_CHECKING(for ARM NEON support in compiler)