unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: John Darrington <john@darrington.wattle.id.au>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] partial fix for zlib cross compilation
Date: Tue, 10 Dec 2013 14:00:15 +0100	[thread overview]
Message-ID: <87y53suahs.fsf@gnu.org> (raw)
In-Reply-To: <20131210104905.GA27631@jocasta.intra> (John Darrington's message of "Tue, 10 Dec 2013 11:49:06 +0100")

John Darrington <john@darrington.wattle.id.au> skribis:

> From 592a7329b446d2d8e8a1f7c2e5e6bcb622c7c69c Mon Sep 17 00:00:00 2001
> From: John Darrington <jmd@gnu.org>
> 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	other threads:[~2013-12-10 13:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-10 10:49 [PATCH] partial fix for zlib cross compilation John Darrington
2013-12-10 13:00 ` Ludovic Courtès [this message]
2013-12-10 13:47   ` John Darrington

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y53suahs.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=john@darrington.wattle.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).