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:
Khem Raj 2019-05-06 18:18:50 -07:00 committed by Richard Purdie
parent fd32e1e5e6
commit a06ca789cb

View File

@ -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}