summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp_6.1.1.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-08-12 11:10:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-17 10:35:42 +0100
commitcae5c7444bfacb2baadb0d11961d861058cd4ac0 (patch)
tree15f1c4e98f817b32be32ab206cd3bbadfedfbd2f /meta/recipes-support/gmp/gmp_6.1.1.bb
parenta56f14e5fcc3e7db1746be862533a7fe337c8c15 (diff)
downloadpoky-cae5c7444bfacb2baadb0d11961d861058cd4ac0.tar.gz
gmp: Fix wrong detection of -march flag
Configure detects -march flag based upon target triplet, it wrongly passes -march=armv4 for all arm, this is unearthed when compiling with clang since it errors out with flags like /tmp/kraj01/a-0c2038.s:27: Error: selected processor does not support `bx r0' in ARM mode since it does not pass --fix-v4bx along with -march=armv4, which does not happen with gcc toolchain since this flag is passed impicitly hence this error was indetected Fixed thusly (From OE-Core rev: 51caeccfc5b18b59deac5005e0059a414cbbed32) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp_6.1.1.bb')
-rw-r--r--meta/recipes-support/gmp/gmp_6.1.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp_6.1.1.bb b/meta/recipes-support/gmp/gmp_6.1.1.bb
index 1df9b06cc8..303c3ef9e2 100644
--- a/meta/recipes-support/gmp/gmp_6.1.1.bb
+++ b/meta/recipes-support/gmp/gmp_6.1.1.bb
@@ -12,6 +12,7 @@ SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \
12 file://amd64.patch \ 12 file://amd64.patch \
13 file://use-includedir.patch \ 13 file://use-includedir.patch \
14 file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \ 14 file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \
15 file://0001-confiure.ac-Believe-the-cflags-from-environment.patch \
15 " 16 "
16 17
17SRC_URI[md5sum] = "4c175f86e11eb32d8bf9872ca3a8e11d" 18SRC_URI[md5sum] = "4c175f86e11eb32d8bf9872ca3a8e11d"