John Darrington <[email protected]> skribis:

> From 592a7329b446d2d8e8a1f7c2e5e6bcb622c7c69c Mon Sep 17 00:00:00 2001
> From: John Darrington <[email protected]>
> Date: Mon, 9 Dec 2013 22:57:15 +0100
> Subject: [PATCH] gnu: compression: Fix cross-compilation of zlib.
>
> * gnu/packages/compression.scm : Zlib uses a non-standard
>   way of configuring for cross-compilation.  Thanks to Ludovic
>   for showing me the correct way to fix this.

Applied with proper formatting.  Thanks!


> -                     (zero? (system* "./configure"
> -                                     (string-append "--prefix=" out)))))
> +                     ,@(if (%current-target-system) `((setenv "CHOST"
> +                                                              
> ,(%current-target-system))) '())

Do you know whether all GNU triplets are recognized, or if there’s some
special treatment going on?  (I confirm it does the right thing for
‘mips64el-linux-gnu’.)

Thanks,
Ludo’.

Reply via email to