mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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>
This commit is contained in:
parent
65abc719f3
commit
3fafab50cf
|
@ -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)} \
|
||||
|
|
Loading…
Reference in New Issue
Block a user