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>
This commit is contained in:
Andre McCurdy 2015-07-11 00:30:24 -07:00 committed by Richard Purdie
parent aad604f231
commit 13dbdd44ea
1 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,9 @@ EXTRA_OECONF = "--disable-ldap \
ac_cv_sys_symbol_underscore=no \
"
# Force gcc's traditional handling of inline to avoid issues with gcc 5
CFLAGS += "-fgnu89-inline"
do_install () {
autotools_do_install
install -d ${D}${docdir}/${BPN}