summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-16 12:05:58 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-16 13:02:59 +0200
commit4def7dac231a47a7b04d87616130cc57a1d573c4 (patch)
tree75728be854121ceced8767878d619d797a98d59f /gnu
parentbd3200fd8bd48560848173c4ddee628c09e98a24 (diff)
downloadguix-4def7dac231a47a7b04d87616130cc57a1d573c4.tar.gz
gnu: dcadec: Cross compile.
* gnu/packages/audio.scm (dcadec)[arguments]: Use cc-for-target in
make-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 90b4ba3dba..3332e5b6d3 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3840,9 +3840,9 @@ use them split WAVE data into multiple files.")
     (build-system gnu-build-system)
     (arguments
      ;; Test files are missing: https://github.com/foo86/dcadec/issues/53
-     '(#:tests? #f
+     `(#:tests? #f
        #:make-flags
-       (list "CC=gcc"
+       (list (string-append "CC=" ,(cc-for-target))
              ;; Build shared library.
              "CONFIG_SHARED=1"
              (string-append "PREFIX=" (assoc-ref %outputs "out"))