diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-08-12 14:33:37 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 18:21:51 +0100 |
commit | 25bf76a8668d2572c6f1a396b657e795b031bbb3 (patch) | |
tree | 3476bdf0d087f5a262395730b1f9c7d8a2a66872 /meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch | |
parent | c23b321b4446685ee4286cc4422772a950ff6370 (diff) | |
download | poky-25bf76a8668d2572c6f1a396b657e795b031bbb3.tar.gz |
gmp: uprev it to 6.0.0
Uprev gmp from 5.1.1 to 6.0.0, and remove the 4.2.1 version which is GPLv2,
since gmp-6.0.0 is dual-licensing, LGPLv3 or GPLv2;
(From OE-Core rev: f181c6ce8b364fbf761a456d998ab78fbd751f35)
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch')
-rw-r--r-- | meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch b/meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch deleted file mode 100644 index aaffaf14c5..0000000000 --- a/meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | # "extern inline" in traditional gcc means that the function should be | ||
4 | # inlined wherever it's seen, while in C99, "extern inline" means that i | ||
5 | # the function should only be inlined where the inline definition is | ||
6 | # seen while in other places it's not inlined: | ||
7 | # http://gcc.gnu.org/ml/gcc/2006-11/msg00006.html | ||
8 | # | ||
9 | # gmp checks "--std=gnu99" to use C99 convention however it internally | ||
10 | # defines some "extern inline" functions in gmp.h, which is included | ||
11 | # by mainly .c files and finally lead a flood of redefinition function | ||
12 | # errors when linking objects together. | ||
13 | # | ||
14 | # So disable C99/ANSI detection to stick to tranditional gcc behavior | ||
15 | # | ||
16 | # by Kevin Tian <kevin.tian@intel.com>, 2010-08-13 | ||
17 | # | ||
18 | # (this patch is licensed under GPLv2+) | ||
19 | |||
20 | diff --git a/configure.in b/configure.in | ||
21 | index 450cc92..aab0b59 100644 | ||
22 | --- a/configure.in | ||
23 | +++ b/configure.in | ||
24 | @@ -1869,9 +1869,7 @@ AC_SUBST(DEFN_LONG_LONG_LIMB) | ||
25 | |||
26 | # The C compiler and preprocessor, put into ANSI mode if possible. | ||
27 | AC_PROG_CC | ||
28 | -AC_PROG_CC_STDC | ||
29 | AC_PROG_CPP | ||
30 | -GMP_H_ANSI | ||
31 | |||
32 | |||
33 | # The C compiler on the build system, and associated tests. | ||