summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-11-07 22:25:23 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-11-07 22:25:23 +0200
commit3e6f857354854277cc9169e88c19cef75cdd883c (patch)
treef57eaa0d91cbffc96fcabf8a17bdb03d70c79a9c
parent6f4541841687b8d96e1518ed6ab6241434a140f5 (diff)
downloadguix-3e6f857354854277cc9169e88c19cef75cdd883c.tar.gz
gnu: x42-plugins: Prepare for cross-compiling.
* gnu/packages/music.scm (x42-plugins)[arguments]: Remove
'set-CC-variable phase. Use cc-for-target in make-flags.
-rw-r--r--gnu/packages/music.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 21b85d2ec0..32ed4081b6 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6093,13 +6093,10 @@ short-time Fourier transform, available as LV2 audio plugin and JACK client.")
              "LIBZITACONVOLVER=-lzita-convolver"
              (string-append "FONTFILE="
                             (assoc-ref %build-inputs "font-dejavu")
-                            "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
+                            "/share/fonts/truetype/DejaVuSans-Bold.ttf")
+             (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)