diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-10-20 15:21:30 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-10-20 17:21:32 +0200 |
commit | 214fb9fbfd4d05f1bae79c0619ea02a3bc742528 (patch) | |
tree | 6f1abf262aee34b340076ef8b1703e282723938e | |
parent | 2e8795cf0c57276a63cb0a3601218b6b831fecc6 (diff) | |
download | guix-214fb9fbfd4d05f1bae79c0619ea02a3bc742528.tar.gz guix-214fb9fbfd4d05f1bae79c0619ea02a3bc742528.zip |
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.
-rw-r--r-- | gnu/packages/music.scm | 5 |
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) |