summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ572 <873216071@qq.com>2023-05-27 20:16:09 +0800
committerLudovic Courtès <ludo@gnu.org>2023-07-01 23:38:25 +0200
commit42951e7c86c204b107ff6ddad4429f43cbcdeb4a (patch)
treeaac51d024b89552a8433e68c462ad3b3177a66cb
parent3570d092ac9efe6b996b70e525b08ac376dd66db (diff)
gnu: zita-alsa-pcmi: fix cross-build.
* gnu/packages/audio.scm (zita-alsa-pcmi): fix cross-build. [arguments]: use CXX-FOR-TARGET. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/audio.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 83d6f1c143..68cbae898a 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -4460,7 +4460,8 @@ provide high-quality sample rate conversion.")
`(#:tests? #f ; no "check" target
#:make-flags
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
- (string-append "SUFFIX="))
+ (string-append "SUFFIX=")
+ (string-append "CXX=" ,(cxx-for-target)))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-makefile-and-enter-directory