guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] partial fix for zlib cross compilation


From: Ludovic Courtès
Subject: Re: [PATCH] partial fix for zlib cross compilation
Date: Tue, 10 Dec 2013 14:00:15 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

John Darrington <address@hidden> skribis:

> From 592a7329b446d2d8e8a1f7c2e5e6bcb622c7c69c Mon Sep 17 00:00:00 2001
> From: John Darrington <address@hidden>
> 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

[Prev in Thread] Current Thread [Next in Thread]