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-23 11:14:47 +0100 |
commit | e03d95d70f8bfe57c258d270ac6b3331650dbc10 (patch) | |
tree | 261fd396234d8596108acce4cd6c0e066425d818 /meta/recipes-support/gmp/gmp_4.2.1.bb | |
parent | fb6623e7b9f97dcd6749e441185e4183b9953171 (diff) | |
download | openembedded-core-contrib-e03d95d70f8bfe57c258d270ac6b3331650dbc10.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.
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 \ file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ file://gmp-h.in;beginline=6;endline=21;md5=e056f74a12c3277d730dbcfb85d2ca34" -SRC_URI += "file://disable-stdc.patch \ +SRC_URI += "file://Use-__gnu_inline__-attribute.patch \ file://gmp_fix_for_automake-1.12.patch \ " |