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

Signed-off-by: Bernhard Walle <[email protected]>
---
 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
[email protected]

Reply via email to