mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-lzop: Fix build with gcc 6.1
@ 2016-05-11 19:49 Bernhard Walle
  2016-05-17  6:32 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Walle @ 2016-05-11 19:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Bernhard Walle

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-17  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-11 19:49 [ptxdist] [PATCH] host-lzop: Fix build with gcc 6.1 Bernhard Walle
2016-05-17  6:32 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox