mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
systemd: Add -Wno-error=format-overflow to fix build with gcc9
gcc9 throws additional warnings about format string overflow (From OE-Core rev: 59f93503dcec4e5b8ab46db73095d2669aba8c7e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -204,6 +204,8 @@ EXTRA_OEMESON += "-Dkexec-path=${sbindir}/kexec \
|
||||
-Dsulogin-path=${base_sbindir}/sulogin \
|
||||
-Dumount-path=${base_bindir}/umount"
|
||||
|
||||
CFLAGS += "-Wno-error=format-overflow"
|
||||
|
||||
do_install() {
|
||||
meson_do_install
|
||||
install -d ${D}/${base_sbindir}
|
||||
|
||||
Reference in New Issue
Block a user