mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Cc: Bernhard Walle <bernhard@bwalle.de>
Subject: [ptxdist] [PATCH] host-lzop: Fix build with gcc 6.1
Date: Wed, 11 May 2016 21:49:16 +0200	[thread overview]
Message-ID: <1462996156-8992-1-git-send-email-bernhard@bwalle.de> (raw)

See also https://bugs.archlinux.org/task/49287.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 rules/host-lzop.make | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rules/host-lzop.make b/rules/host-lzop.make
index a31609c..08e0a20 100644
--- a/rules/host-lzop.make
+++ b/rules/host-lzop.make
@@ -30,4 +30,8 @@ HOST_LZOP_DIR		:= $(HOST_BUILDDIR)/$(HOST_LZOP)
 
 HOST_LZOP_CONF_TOOL	:= autoconf
 
+# This is needed to pass configure check with host-gcc 6.1
+# Otherwise, we get "error: ACC conformance test failed"
+HOST_LZOP_CFLAGS	:= -std=c90 -fPIC
+
 # vim: syntax=make
-- 
2.8.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2016-05-11 19:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-11 19:49 Bernhard Walle [this message]
2016-05-17  6:32 ` Michael Olbrich

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=1462996156-8992-1-git-send-email-bernhard@bwalle.de \
    --to=bernhard@bwalle.de \
    --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