From: Khem Raj Date: Tue, 7 May 2019 01:18:50 +0000 (-0700) Subject: systemd: Add -Wno-error=format-overflow to fix build with gcc9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a06ca789cbe2da237e1732f8865382a501519569;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb index a6b39d57e8f..69b1f7ed0e5 100644 --- a/meta/recipes-core/systemd/systemd_242.bb +++ b/meta/recipes-core/systemd/systemd_242.bb @@ -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}