1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

elfutils: fix building elfutils-native with GCC7

Backport a fix from upstream for a -Wformat-truncation=2 warning
and implement a simple fix for a -Wimplicit-fallthrough warning.

(From OE-Core rev: aaf4c4f3d09ac3897205417eb15e19d54e0c0d05)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Lock
2017-04-06 14:23:13 +01:00
committed by Richard Purdie
parent 34313c4047
commit 5784961762
3 changed files with 83 additions and 0 deletions
@@ -17,6 +17,7 @@ SRC_URI += "\
file://0001-remove-the-unneed-checking.patch \
file://0001-fix-a-stack-usage-warning.patch \
file://aarch64_uio.patch \
file://Fix_one_GCC7_warning.patch \
file://shadow.patch \
"
@@ -35,6 +36,8 @@ SRC_URI += "\
file://debian/hurd_path.patch \
file://debian/ignore_strmerge.diff \
"
# Fix the patches from Debian with GCC7
SRC_URI += "file://fallthrough.patch"
SRC_URI_append_libc-musl = " file://0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch "
# The buildsystem wants to generate 2 .h files from source using a binary it just built,