guix-commits
[Top][All Lists]
Advanced

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

03/04: config-daemon.ac: detect host AR


From: Ludovic Courtès
Subject: 03/04: config-daemon.ac: detect host AR
Date: Mon, 6 Feb 2017 09:51:52 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 1ca0f20a7ded5de185f6dee93f6da30eb62a9188
Author: Sergei Trofimovich <address@hidden>
Date:   Sat Feb 4 17:40:34 2017 +0000

    config-daemon.ac: detect host AR
    
    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 <address@hidden>
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 config-daemon.ac |    1 +
 1 file changed, 1 insertion(+)

diff --git a/config-daemon.ac b/config-daemon.ac
index 056c939..42b5981 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



reply via email to

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