diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-07-11 00:30:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:09:22 +0100 |
commit | 13dbdd44eade3343abfc572ec48124047b603bcb (patch) | |
tree | fdfaa7faad7005505a8127da6a289d2d8addbfe4 /meta/recipes-support/gnupg | |
parent | aad604f231cb020ba0199c83c12b6f107ce3403d (diff) | |
download | poky-13dbdd44eade3343abfc572ec48124047b603bcb.tar.gz |
gnupg: fix build of GPLv2 version of gnupg with gcc 5
Force gcc's traditional handling of inline to avoid issues with gcc 5.
Upstream gnupg has a more specific fix, however it was made after
gnupg was relicensed to GPLv3 so may be unsafe to backport directly.
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=5093bed27580e608de073bcc5953bd76b6b8b2de
(From OE-Core rev: c9883a572eb92e9b846e9021495e0715fb2a4db7)
Signed-off-by: Andre McCurdy <armccurdy@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/gnupg')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_1.4.7.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_1.4.7.bb b/meta/recipes-support/gnupg/gnupg_1.4.7.bb index aef515d534..6999f81f84 100644 --- a/meta/recipes-support/gnupg/gnupg_1.4.7.bb +++ b/meta/recipes-support/gnupg/gnupg_1.4.7.bb | |||
@@ -81,6 +81,9 @@ EXTRA_OECONF = "--disable-ldap \ | |||
81 | ac_cv_sys_symbol_underscore=no \ | 81 | ac_cv_sys_symbol_underscore=no \ |
82 | " | 82 | " |
83 | 83 | ||
84 | # Force gcc's traditional handling of inline to avoid issues with gcc 5 | ||
85 | CFLAGS += "-fgnu89-inline" | ||
86 | |||
84 | do_install () { | 87 | do_install () { |
85 | autotools_do_install | 88 | autotools_do_install |
86 | install -d ${D}${docdir}/${BPN} | 89 | install -d ${D}${docdir}/${BPN} |