summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-10-20 15:21:30 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-10-20 17:21:32 +0200
commit214fb9fbfd4d05f1bae79c0619ea02a3bc742528 (patch)
tree6f1abf262aee34b340076ef8b1703e282723938e /gnu
parent2e8795cf0c57276a63cb0a3601218b6b831fecc6 (diff)
downloadguix-214fb9fbfd4d05f1bae79c0619ea02a3bc742528.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/music.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 40c86a8e4c..f013ad6d3e 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)