mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH] elfutils: add patch to disable -Werror
Date: Mon, 14 May 2018 16:32:39 +0200	[thread overview]
Message-ID: <20180514143241.4181-1-clemens.gruber@pqgruber.com> (raw)

This is necessary when compiling it with GCC versions >= 8.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 ...s-it-tends-to-break-with-new-gcc-ver.patch | 20 +++++++++++++++++++
 patches/elfutils-0.170/autogen.sh             |  1 +
 patches/elfutils-0.170/series                 |  4 ++++
 3 files changed, 25 insertions(+)
 create mode 100644 patches/elfutils-0.170/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
 create mode 120000 patches/elfutils-0.170/autogen.sh
 create mode 100644 patches/elfutils-0.170/series

diff --git a/patches/elfutils-0.170/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch b/patches/elfutils-0.170/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
new file mode 100644
index 000000000..ed336e4d9
--- /dev/null
+++ b/patches/elfutils-0.170/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
@@ -0,0 +1,20 @@
+From: Helmut Grohne <helmut@subdivi.de>
+Date: Mon, 7 May 2018 02:42:31 +0200
+Subject: [PATCH] disable -Werror as it tends to break with new gcc versions
+
+---
+ config/eu.am | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/config/eu.am b/config/eu.am
+index 8fe1e259f9e2..c5a6209a4e04 100644
+--- a/config/eu.am
++++ b/config/eu.am
+@@ -71,7 +71,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
+ 	    -Wold-style-definition -Wstrict-prototypes \
+ 	    $(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)) \
+ 	    $($(*F)_CFLAGS)
diff --git a/patches/elfutils-0.170/autogen.sh b/patches/elfutils-0.170/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/elfutils-0.170/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/patches/elfutils-0.170/series b/patches/elfutils-0.170/series
new file mode 100644
index 000000000..6e83826e3
--- /dev/null
+++ b/patches/elfutils-0.170/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
+# 881dc427356ca2d007dd3d3f576ea5a8  - git-ptx-patches magic
-- 
2.17.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2018-05-14 14:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-14 14:32 Clemens Gruber [this message]
2018-05-14 14:32 ` [ptxdist] [PATCH] nginx: version bump 1.12.2 -> 1.14.0 Clemens Gruber
2018-05-14 14:32 ` [ptxdist] [PATCH] nginx: support http_grpc_module Clemens Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180514143241.4181-1-clemens.gruber@pqgruber.com \
    --to=clemens.gruber@pqgruber.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox