lxc: Disable warnings as errors
merged.
Bruce
Quoted 27 lines · Khem Raj
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 <[email protected]>--- recipes-containers/lxc/lxc_4.0.4.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-containers/lxc/lxc_4.0.4.bb +1
-4@@ -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)} \ --2.28.0
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II