From 3fafab50cf510a99ad1d0ab4e6f0402721716b35 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 25 Aug 2020 15:55:52 -0700 Subject: lxc: Disable warnings as errors Instead of disabling particular warnings, its better to use configure switch, since some of these warnings could be compiler specific Signed-off-by: Khem Raj Signed-off-by: Bruce Ashfield --- recipes-containers/lxc/lxc_4.0.4.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipes-containers/lxc/lxc_4.0.4.bb b/recipes-containers/lxc/lxc_4.0.4.bb index a8f93948..f526ab99 100644 --- a/recipes-containers/lxc/lxc_4.0.4.bb +++ b/recipes-containers/lxc/lxc_4.0.4.bb @@ -67,9 +67,7 @@ EXTRA_OECONF += "--with-init-script=\ ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit,', '', d)}\ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" -EXTRA_OECONF += "--enable-log-src-basename" - -CFLAGS_append = " -Wno-error=deprecated-declarations -Wno-error=stringop-overflow" +EXTRA_OECONF += "--enable-log-src-basename --disable-werror" PACKAGECONFIG ??= "templates \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ -- cgit v1.2.3-54-g00ecf