summaryrefslogtreecommitdiffstats
path: root/patches/elfutils-0.176/disable_werror.patch
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-03-04 09:02:59 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-04 12:47:02 +0100
commitac816084d9dca9f6af991570666e29739a60a132 (patch)
tree52e852238711b3b414ea0ebce974b0622cd3d05b /patches/elfutils-0.176/disable_werror.patch
parent13c7afeb48806b5d3f22ce43b3559cbbfa052a37 (diff)
downloadptxdist-ac816084d9dca9f6af991570666e29739a60a132.tar.gz
ptxdist-ac816084d9dca9f6af991570666e29739a60a132.tar.xz
version bump elfutils 174 -> 176
and take over patches from debian. It is needed to make MIPS work. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/elfutils-0.176/disable_werror.patch')
-rw-r--r--patches/elfutils-0.176/disable_werror.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/patches/elfutils-0.176/disable_werror.patch b/patches/elfutils-0.176/disable_werror.patch
new file mode 100644
index 000000000..4c1a54452
--- /dev/null
+++ b/patches/elfutils-0.176/disable_werror.patch
@@ -0,0 +1,17 @@
+From: Helmut Grohne <helmut@subdivi.de>
+Subject: disable -Werror as it tends to break with new gcc versions
+Bug-Debian: https://bugs.debian.org/886004
+Last-Update: 2018-01-01
+
+Index: elfutils-0.176/config/eu.am
+===================================================================
+--- elfutils-0.176.orig/config/eu.am
++++ elfutils-0.176/config/eu.am
+@@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -W
+ -Wold-style-definition -Wstrict-prototypes -Wtrampolines \
+ $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
+ $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
+- $(if $($(*F)_no_Werror),,-Werror) \
+ $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
+ $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
+ $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \