guix-commits
[Top][All Lists]
Advanced

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

02/04: gnu: dpf-plugins: Prepare for cross-compilation.


From: guix-commits
Subject: 02/04: gnu: dpf-plugins: Prepare for cross-compilation.
Date: Wed, 20 Oct 2021 11:34:53 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 214fb9fbfd4d05f1bae79c0619ea02a3bc742528
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Oct 20 15:21:30 2021 +0200

    gnu: dpf-plugins: Prepare for cross-compilation.
    
    * gnu/packages/music.scm (dpf-plugins)[arguments]: Set CC in #:make-flags
    rather than as an environment variable, and set it to CC-FOR-TARGET.
---
 gnu/packages/music.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 40c86a8..f013ad6 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6283,11 +6283,10 @@ ones.")
     (arguments
      `(#:tests? #f                      ; no "check" target
        #:make-flags
-       (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+       (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+             (string-append "CC=" ,(cc-for-target)))
        #:phases
        (modify-phases %standard-phases
-         (add-before 'build 'set-CC-variable
-           (lambda _ (setenv "CC" "gcc") #t))
          (delete 'configure))))
     (inputs
      `(("cairo" ,cairo)



reply via email to

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