From ae955c8fbe7e8ae8b08ca48b8ea072eabe2fa563 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Fri, 4 May 2018 22:48:37 -0300 Subject: ostree: cleanup configure and build flags Set the standard CFLAGS variable instead of defining it via EXTRA_OECONF and also remove the configure flags that are automatically enabled based on the build depends. Signed-off-by: Ricardo Salveti --- recipes-sota/ostree/ostree_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-sota/ostree/ostree_git.bb b/recipes-sota/ostree/ostree_git.bb index 240860a..b948131 100644 --- a/recipes-sota/ostree/ostree_git.bb +++ b/recipes-sota/ostree/ostree_git.bb @@ -24,7 +24,8 @@ DEPENDS_remove_class-native = "systemd-native" RDEPENDS_${PN} = "util-linux-libuuid util-linux-libblkid util-linux-libmount libcap bash" -EXTRA_OECONF = "CFLAGS='-Wno-error=missing-prototypes' --with-libarchive --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf --disable-man --with-smack --with-builtin-grub2-mkconfig --with-curl --without-soup" +CFLAGS_append = " -Wno-error=missing-prototypes" +EXTRA_OECONF = "--disable-gtk-doc --disable-man --with-smack --with-builtin-grub2-mkconfig --with-curl --without-soup" EXTRA_OECONF_append_class-native = " --enable-wrpseudo-compat" # Path to ${prefix}/lib/ostree/ostree-grub-generator is hardcoded on the -- cgit v1.2.3-54-g00ecf