[oe-commits] [openembedded-core] 13/17: systemd: Add -Wno-error=format-overflow to fix build with gcc9
git at git.openembedded.org
git at git.openembedded.org
Wed May 8 11:22:52 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 59f93503dcec4e5b8ab46db73095d2669aba8c7e
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon May 6 18:18:50 2019 -0700
systemd: Add -Wno-error=format-overflow to fix build with gcc9
gcc9 throws additional warnings about format string overflow
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/systemd/systemd_242.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb
index a6b39d5..69b1f7e 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}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list