guix-commits
[Top][All Lists]
Advanced

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

07/10: gnu: exim: Prepare for cross-compilation.


From: guix-commits
Subject: 07/10: gnu: exim: Prepare for cross-compilation.
Date: Wed, 29 Sep 2021 11:01:27 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 6e488fb069f5d4d8397955cf7d36735d224943a6
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Sep 29 01:10:58 2021 +0200

    gnu: exim: Prepare for cross-compilation.
    
    * gnu/packages/mail.scm (exim)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/mail.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 9bdfae2..d3c29b7 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1821,7 +1821,7 @@ delivery.")
        ("perl" ,perl)
        ("pkg-config" ,pkg-config)))
     (arguments
-     '(#:phases
+     `(#:phases
        (modify-phases %standard-phases
          (replace 'configure
            ;; We'd use #:make-flags but the top-level Makefile calls others
@@ -1883,7 +1883,7 @@ delivery.")
              (substitute* "src/version.c"
                (("#include \"cnumber.h\"") "1")))))
        #:make-flags
-       (list "CC=gcc"
+       (list (string-append "CC=" ,(cc-for-target))
              "INSTALL_ARG=-no_chown")
        ;; No 'check' target.  There is a test suite in test/, which assumes 
that
        ;; certain build options were (not) used and that it can freely ‘sudo’.



reply via email to

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