all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sergei Trofimovich <slyfox@inbox.ru>
To: guix-devel@gnu.org
Subject: [PATCH] config-daemon.ac: detect host AR
Date: Sat,  4 Feb 2017 17:40:34 +0000	[thread overview]
Message-ID: <20170204174034.20324-1-slyfox@inbox.ru> (raw)

The problem is seen when we try to use explicit host:

    ./configure --prefix=/usr --localstatedir=/var/lib --host=x86_64-pc-linux-gnu
    make V=1

Before the change:
    ar cru libstore.a nix/libstore/libstore_a-gc.o
After the change:
    x86_64-pc-linux-gnu-ar cru libstore.a

* config-daemon.ac: use AM_PROG_AR to detect host AR

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
---
 config-daemon.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config-daemon.ac b/config-daemon.ac
index 056c939e3..42b59819d 100644
--- a/config-daemon.ac
+++ b/config-daemon.ac
@@ -5,6 +5,7 @@ AC_MSG_RESULT([$guix_build_daemon])
 
 dnl C++ environment.  This macro must be used unconditionnaly.
 AC_PROG_CXX
+AM_PROG_AR
 AC_LANG([C++])
 
 if test "x$guix_build_daemon" = "xyes"; then
-- 
2.11.1

             reply	other threads:[~2017-02-04 17:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04 17:40 Sergei Trofimovich [this message]
2017-02-06  9:38 ` [PATCH] config-daemon.ac: detect host AR Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2017-02-04 17:32 Sergei Trofimovich
2017-02-04 16:00 Sergei Trofimovich

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

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

  git send-email \
    --in-reply-to=20170204174034.20324-1-slyfox@inbox.ru \
    --to=slyfox@inbox.ru \
    --cc=guix-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.