diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2015-09-23 10:34:56 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-24 17:54:24 +0100 |
commit | 6d1447ba2d8b1c76fd1f0d26aee250fb82cbeddd (patch) | |
tree | 28ec958accc097066d80676379345f5f01dbcb0c /meta/recipes-support/gmp/gmp_4.2.1.bb | |
parent | 42dc9024d8e659c64d21dbf8032a6e527b184343 (diff) | |
download | poky-6d1447ba2d8b1c76fd1f0d26aee250fb82cbeddd.tar.gz |
gmp: Use __gnu_inline__ attribute in 4.2.1
gcc 5 defaults to C11 rules about "extern inline": this breaks
any code that includes gmp.h header from gmp 4.2.1 with 'multiple
definition' errors.
disable-stdc patch is no longer required because of this.
(From OE-Core rev: e03d95d70f8bfe57c258d270ac6b3331650dbc10)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp_4.2.1.bb')
-rw-r--r-- | meta/recipes-support/gmp/gmp_4.2.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/gmp/gmp_4.2.1.bb b/meta/recipes-support/gmp/gmp_4.2.1.bb index 928c01a5bb..bfc6a380e6 100644 --- a/meta/recipes-support/gmp/gmp_4.2.1.bb +++ b/meta/recipes-support/gmp/gmp_4.2.1.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \ | |||
7 | file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ | 7 | file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ |
8 | file://gmp-h.in;beginline=6;endline=21;md5=e056f74a12c3277d730dbcfb85d2ca34" | 8 | file://gmp-h.in;beginline=6;endline=21;md5=e056f74a12c3277d730dbcfb85d2ca34" |
9 | 9 | ||
10 | SRC_URI += "file://disable-stdc.patch \ | 10 | SRC_URI += "file://Use-__gnu_inline__-attribute.patch \ |
11 | file://gmp_fix_for_automake-1.12.patch \ | 11 | file://gmp_fix_for_automake-1.12.patch \ |
12 | " | 12 | " |
13 | 13 | ||