summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-25 15:55:52 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-05-31 10:20:08 -0400
commit4c51af20dad59afe87c37a44f4fab15f2d6fa9e9 (patch)
tree775b42ecaa45e3f28ffc5c8532a9250552b281a3
parentf6c77deb846573d255533438493574b6c4388dee (diff)
downloadmeta-virtualization-4c51af20dad59afe87c37a44f4fab15f2d6fa9e9.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/lxc/lxc_4.0.4.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/recipes-containers/lxc/lxc_4.0.4.bb b/recipes-containers/lxc/lxc_4.0.4.bb
index 313039c3..beb7ee4f 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=\
67${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit,', '', d)}\ 67${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit,', '', d)}\
68${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" 68${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
69 69
70EXTRA_OECONF += "--enable-log-src-basename" 70EXTRA_OECONF += "--enable-log-src-basename --disable-werror"
71
72CFLAGS_append = " -Wno-error=deprecated-declarations -Wno-error=stringop-overflow"
73 71
74PACKAGECONFIG ??= "templates \ 72PACKAGECONFIG ??= "templates \
75 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ 73 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \