diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-21 14:38:30 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-21 14:38:30 +0000 |
commit | b39898e97bb723c7b8094b4a97ce3edf0ca79faf (patch) | |
tree | 08193d1dd65213450096e44e1f0c2ea2f84b60ba /testing/firefox/fix-arm-version-detect.patch | |
parent | a510af5868cbde7c3efb310b262a40adf9b8703b (diff) | |
download | aports-b39898e97bb723c7b8094b4a97ce3edf0ca79faf.tar.bz2 aports-b39898e97bb723c7b8094b4a97ce3edf0ca79faf.tar.xz |
testing/firefox: upgrade to 49.0
Diffstat (limited to 'testing/firefox/fix-arm-version-detect.patch')
-rw-r--r-- | testing/firefox/fix-arm-version-detect.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/firefox/fix-arm-version-detect.patch b/testing/firefox/fix-arm-version-detect.patch new file mode 100644 index 0000000000..c0c2a2e830 --- /dev/null +++ b/testing/firefox/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) |