summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/elfutils_0.168.bb
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2017-04-06 14:23:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-10 23:00:43 +0100
commit5784961762205ee000cbbfc115b0b356fd4ea197 (patch)
treecbcecab3c4b12bc760048a9a4170d1cc3be149f3 /meta/recipes-devtools/elfutils/elfutils_0.168.bb
parent34313c404738dce9e4732700e612cfb5a2d5ee58 (diff)
downloadpoky-5784961762205ee000cbbfc115b0b356fd4ea197.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils_0.168.bb')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.168.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.168.bb b/meta/recipes-devtools/elfutils/elfutils_0.168.bb
index 9557933faa..3b8f2a3147 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.168.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.168.bb
@@ -17,6 +17,7 @@ SRC_URI += "\
17 file://0001-remove-the-unneed-checking.patch \ 17 file://0001-remove-the-unneed-checking.patch \
18 file://0001-fix-a-stack-usage-warning.patch \ 18 file://0001-fix-a-stack-usage-warning.patch \
19 file://aarch64_uio.patch \ 19 file://aarch64_uio.patch \
20 file://Fix_one_GCC7_warning.patch \
20 file://shadow.patch \ 21 file://shadow.patch \
21" 22"
22 23
@@ -35,6 +36,8 @@ SRC_URI += "\
35 file://debian/hurd_path.patch \ 36 file://debian/hurd_path.patch \
36 file://debian/ignore_strmerge.diff \ 37 file://debian/ignore_strmerge.diff \
37" 38"
39# Fix the patches from Debian with GCC7
40SRC_URI += "file://fallthrough.patch"
38SRC_URI_append_libc-musl = " file://0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch " 41SRC_URI_append_libc-musl = " file://0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch "
39 42
40# The buildsystem wants to generate 2 .h files from source using a binary it just built, 43# The buildsystem wants to generate 2 .h files from source using a binary it just built,