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

* Re: [ptxdist] [PATCH] host-lzop: Fix build with gcc 6.1
  2016-05-11 19:49 [ptxdist] [PATCH] host-lzop: Fix build with gcc 6.1 Bernhard Walle
@ 2016-05-17  6:32 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2016-05-17  6:32 UTC (permalink / raw)
  To: ptxdist

On Wed, May 11, 2016 at 09:49:16PM +0200, Bernhard Walle wrote:
> See also https://bugs.archlinux.org/task/49287.
> 
> Signed-off-by: Bernhard Walle <bernhard@bwalle.de>

Tnx, applied.

Michael

> ---
>  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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
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