diff options
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. | ||