summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp/0001-confiure.ac-Believe-the-cflags-from-environment.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-02-21 14:45:37 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-22 23:57:27 +0000
commit746f277acc908c75a1578c018b5dd03fb88bcb1a (patch)
tree835066aa5bfd3545e44ff2856df95b994dd6f564 /meta/recipes-support/gmp/gmp/0001-confiure.ac-Believe-the-cflags-from-environment.patch
parent2eed027552b8e4928d51d7854e7d29a04cc2989d (diff)
downloadpoky-746f277acc908c75a1578c018b5dd03fb88bcb1a.tar.gz
gmp: Upgrade to 6.2.0
Drop amd64 patch, the bsfq has been replaced with bsfl for count_trailing_zeros Forward port rest of patches to 6.2.0 (From OE-Core rev: 35c052db4e081d363bcca350383adb0ac8c321d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp/0001-confiure.ac-Believe-the-cflags-from-environment.patch')
-rw-r--r--meta/recipes-support/gmp/gmp/0001-confiure.ac-Believe-the-cflags-from-environment.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp/0001-confiure.ac-Believe-the-cflags-from-environment.patch b/meta/recipes-support/gmp/gmp/0001-confiure.ac-Believe-the-cflags-from-environment.patch
new file mode 100644
index 0000000000..56564db505
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp/0001-confiure.ac-Believe-the-cflags-from-environment.patch
@@ -0,0 +1,49 @@
1From ae1a4c37417a3bbbf8ea1cab198982b0cad47e29 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 12 Aug 2016 17:08:13 +0000
4Subject: [PATCH] confiure.ac: Believe the cflags from environment
5
6In some toolchains e.g. OpenEmbedded -march options
7are passed on compiler cmdline, it does not use
8the expected target triplets to make these decision
9during configure.
10
11Secondly, dont set armv4 for march when no selection
12is made, since it is passed from cmdline
13
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16Upstream-Status: Inappropriate[OE-Specific]
17
18 configure.ac | 11 -----------
19 1 file changed, 11 deletions(-)
20
21--- a/configure.ac
22+++ b/configure.ac
23@@ -625,17 +625,6 @@ case $host in
24 any_32_testlist="sizeof-void*-4"
25 any_64_testlist="sizeof-void*-8"
26
27- # This is needed for clang, which is not content with flags like -mfpu=neon
28- # alone.
29- case $host in
30- *-*-*eabi)
31- gcc_cflags_fpmode="-mfloat-abi=softfp" ;;
32- *-*-*eabihf)
33- gcc_cflags_fpmode="-mfloat-abi=hard" ;;
34- *-*-mingw*)
35- limb_64=longlong ;;
36- esac
37-
38 # FIXME: We make mandatory compiler options optional here. We should
39 # either enforce them, or organise to strip paths as the corresponding
40 # options fail.
41@@ -780,8 +769,6 @@ case $host in
42 ;;
43 *)
44 path="arm"
45- gcc_cflags_arch="-march=armv4"
46- GMP_DEFINE_RAW(["define(<NOTHUMB>,1)"])
47 ;;
48 esac
49 ;;