guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: whois: Fix cross compiling.


From: guix-commits
Subject: 03/03: gnu: whois: Fix cross compiling.
Date: Mon, 28 Dec 2020 12:06:08 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit f6c106b46d7495f1944672ce19f3670222f98fec
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Dec 28 18:53:58 2020 +0200

    gnu: whois: Fix cross compiling.
    
    * gnu/packages/networking.scm (whois)[arguments]: Use cc-for-target
    and pkg-config-for-target.
---
 gnu/packages/networking.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 796c42b..30b17da 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1317,7 +1317,8 @@ and up to 1 Mbit/s downstream.")
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f                      ; no test suite
-       #:make-flags (list "CC=gcc"
+       #:make-flags (list (string-append "CC=" ,(cc-for-target))
+                          (string-append "PKG_CONFIG=" 
,(pkg-config-for-target))
                           (string-append "prefix=" (assoc-ref %outputs "out")))
        #:phases
        (modify-phases %standard-phases



reply via email to

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