summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/gnupg/gnupg_1.4.7.bb3
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 \
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}