diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-02-13 10:00:12 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-23 12:49:49 -0800 |
commit | 30bcc8c2662d70fe8e6ca0152538591ff3ecd1ea (patch) | |
tree | cad166a2e96337cdf315921622e23f6597bd6ef3 /meta/recipes-support/gmp/gmp-6.1.2/0001-Append-the-user-provided-flags-to-the-auto-detected-.patch | |
parent | 930b6d4ddbfadbc4e24a840529f5aca6c1a5a09d (diff) | |
download | poky-30bcc8c2662d70fe8e6ca0152538591ff3ecd1ea.tar.gz |
gmp: Update to 6.1.2
(From OE-Core rev: a341bc666c6d25741bbe879ccf0ade8da6ba4373)
(From OE-Core rev: ba962c8cd4f39f72028662db4cb8505befe64206)
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.2/0001-Append-the-user-provided-flags-to-the-auto-detected-.patch')
-rw-r--r-- | meta/recipes-support/gmp/gmp-6.1.2/0001-Append-the-user-provided-flags-to-the-auto-detected-.patch | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp-6.1.2/0001-Append-the-user-provided-flags-to-the-auto-detected-.patch b/meta/recipes-support/gmp/gmp-6.1.2/0001-Append-the-user-provided-flags-to-the-auto-detected-.patch new file mode 100644 index 0000000000..325ffe491f --- /dev/null +++ b/meta/recipes-support/gmp/gmp-6.1.2/0001-Append-the-user-provided-flags-to-the-auto-detected-.patch | |||
@@ -0,0 +1,61 @@ | |||
1 | From d3b9fc523fc11260ced890c35bc5c9e6391c8656 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 14 Dec 2015 14:19:49 +0200 | ||
4 | Subject: [PATCH] Append the user provided flags to the auto-detected ones. | ||
5 | |||
6 | Upstream-Status: Inappropriate | ||
7 | Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> | ||
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
9 | --- | ||
10 | configure.ac | 14 ++++++++++---- | ||
11 | 1 file changed, 10 insertions(+), 4 deletions(-) | ||
12 | |||
13 | diff --git a/configure.ac b/configure.ac | ||
14 | index 9cedfeb..87caee5 100644 | ||
15 | --- a/configure.ac | ||
16 | +++ b/configure.ac | ||
17 | @@ -1921,8 +1921,12 @@ cclist=$cclist | ||
18 | EOF | ||
19 | |||
20 | |||
21 | -test_CFLAGS=${CFLAGS+set} | ||
22 | -test_CPPFLAGS=${CPPFLAGS+set} | ||
23 | +test_CFLAGS= | ||
24 | +test_CPPFLAGS= | ||
25 | + | ||
26 | +user_CFLAGS=$CFLAGS | ||
27 | +user_CPPFLAGS=$CPPFLAGS | ||
28 | +user_CXXFLAGS=$CXXFLAGS | ||
29 | |||
30 | for abi in $abilist; do | ||
31 | abi_last="$abi" | ||
32 | @@ -2353,7 +2357,7 @@ AC_SUBST(CCAS) | ||
33 | # The C++ compiler, if desired. | ||
34 | want_cxx=no | ||
35 | if test $enable_cxx != no; then | ||
36 | - test_CXXFLAGS=${CXXFLAGS+set} | ||
37 | + test_CXXFLAGS= | ||
38 | AC_PROG_CXX | ||
39 | |||
40 | echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&AC_FD_CC | ||
41 | @@ -2381,7 +2385,7 @@ if test $enable_cxx != no; then | ||
42 | # Automake includes $CPPFLAGS in a C++ compile, so we do the same here. | ||
43 | # | ||
44 | for cxxflags_choice in $cxxflags_list; do | ||
45 | - eval CXXFLAGS=\"\$cxxflags_$cxxflags_choice\" | ||
46 | + eval CXXFLAGS=\"\$cxxflags_$cxxflags_choice $user_CXXFLAGS\" | ||
47 | GMP_PROG_CXX_WORKS($CXX $CPPFLAGS $CXXFLAGS, | ||
48 | [want_cxx=yes | ||
49 | break]) | ||
50 | @@ -2477,6 +2481,8 @@ if test "$enable_assembly" = "no"; then | ||
51 | # done | ||
52 | fi | ||
53 | |||
54 | +CFLAGS="$CFLAGS $user_CFLAGS" | ||
55 | +CPPFLAGS="$CPPFLAGS $user_CPPFLAGS" | ||
56 | |||
57 | cat >&AC_FD_CC <<EOF | ||
58 | Decided: | ||
59 | -- | ||
60 | 2.6.2 | ||
61 | |||