diff mbox series

[V2,1/2] systemd: Add -Wno-error=format-overflow to fix biuld with gcc9

Message ID 20190507011850.28522-1-raj.khem@gmail.com
State Accepted
Commit 59f93503dcec4e5b8ab46db73095d2669aba8c7e
Headers show
Series [V2,1/2] systemd: Add -Wno-error=format-overflow to fix biuld with gcc9 | expand

Commit Message

Khem Raj May 7, 2019, 1:18 a.m. UTC
gcc9 throws additional warnings about format string overflow

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-core/systemd/systemd_242.bb | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.21.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb
index a6b39d57e8..69b1f7ed0e 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}