summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Walle <bernhard@bwalle.de>2016-05-11 21:49:16 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-13 10:21:25 +0200
commit8d0b85d2981a9f4978b37b94ae3925031b21dfd4 (patch)
tree47c6db25cc4ca387374467b8928dcd903b3a688b
parent5b6a5d0e4bf7f5ae494b0824168c327773425a2d (diff)
downloadptxdist-8d0b85d2981a9f4978b37b94ae3925031b21dfd4.tar.gz
ptxdist-8d0b85d2981a9f4978b37b94ae3925031b21dfd4.tar.xz
host-lzop: Fix build with gcc 6.1
See also https://bugs.archlinux.org/task/49287. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-lzop.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/host-lzop.make b/rules/host-lzop.make
index a31609c39..08e0a2005 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