diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-05-06 18:18:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 12:15:17 +0100 |
commit | a06ca789cbe2da237e1732f8865382a501519569 (patch) | |
tree | fb7b61cb04657bb6623a38a8d2baa0f407a0bce4 /meta | |
parent | fd32e1e5e629b616e8300d9f08d7d9c178a8d177 (diff) | |
download | poky-a06ca789cbe2da237e1732f8865382a501519569.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/systemd/systemd_242.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ | |||
204 | -Dsulogin-path=${base_sbindir}/sulogin \ | 204 | -Dsulogin-path=${base_sbindir}/sulogin \ |
205 | -Dumount-path=${base_bindir}/umount" | 205 | -Dumount-path=${base_bindir}/umount" |
206 | 206 | ||
207 | CFLAGS += "-Wno-error=format-overflow" | ||
208 | |||
207 | do_install() { | 209 | do_install() { |
208 | meson_do_install | 210 | meson_do_install |
209 | install -d ${D}/${base_sbindir} | 211 | install -d ${D}/${base_sbindir} |