diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-25 15:55:52 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-08-27 16:28:20 -0400 |
commit | 3fafab50cf510a99ad1d0ab4e6f0402721716b35 (patch) | |
tree | 01d784c0e60a5219851afa9f24f361d08535e705 | |
parent | 65abc719f369bb4edf62d66e36a6a6fe7771004a (diff) | |
download | meta-virtualization-3fafab50cf510a99ad1d0ab4e6f0402721716b35.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.bb | 4 |
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 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=\ | |||
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 | ||
70 | EXTRA_OECONF += "--enable-log-src-basename" | 70 | EXTRA_OECONF += "--enable-log-src-basename --disable-werror" |
71 | |||
72 | CFLAGS_append = " -Wno-error=deprecated-declarations -Wno-error=stringop-overflow" | ||
73 | 71 | ||
74 | PACKAGECONFIG ??= "templates \ | 72 | PACKAGECONFIG ??= "templates \ |
75 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | 73 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ |