[OE-core] [master][krogoth][PATCH 5/5] pkgconfig: fix build with host gcc 6

danismostlikely at gmail.com danismostlikely at gmail.com
Tue May 10 16:04:49 UTC 2016


From: Dan McGregor <danismostlikely at gmail.com>

From: Daniel McGregor <daniel.mcgregor at vecima.com>

This simply disables the glib-2.0 warning identified by that recipe.
This package depends on host glib, so we can't patch it.

Signed-off-by: Daniel McGregor <daniel.mcgregor at vecima.com>
---
 meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
index d34f608..88c99cd 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
@@ -27,6 +27,7 @@ inherit autotools
 EXTRA_OECONF = "--without-internal-glib"
 EXTRA_OECONF_class-native = "--with-internal-glib"
 EXTRA_OECONF_class-nativesdk = "--with-internal-glib"
+CFLAGS_append_class-native = " -Wno-error=format-nonliteral"
 
 acpaths = "-I ."
 
-- 
2.8.2




More information about the Openembedded-core mailing list