summaryrefslogtreecommitdiff
path: root/gnu/packages/cdrom.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-03-13 01:00:01 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2022-03-13 01:00:00 +0100
commit53ac77389c884106adfe15b6253014357246fc3f (patch)
tree858e314d7a41e3936c292c0ffa0ff7d14a7cccf9 /gnu/packages/cdrom.scm
parent21457fb31e2932673df36b769709b8deb05d2601 (diff)
gnu: cdrtools: Prepare for cross-compilation.
* gnu/packages/cdrom.scm (cdrtools)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages/cdrom.scm')
-rw-r--r--gnu/packages/cdrom.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 3f2429aeeb..02a7668686 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -321,7 +321,8 @@ format, commonly used for VCDs or disks with subchannel data.")
(arguments
`(#:make-flags
(list "RM=rm" "LN=ln" "SYMLINK=ln -s"
- "CONFIG_SHELL=sh" "CCOM=gcc"
+ "CONFIG_SHELL=sh"
+ (string-append "CCOM=" ,(cc-for-target))
(string-append "INS_BASE=" (assoc-ref %outputs "out"))
(string-append "INS_RBASE=" (assoc-ref %outputs "out")))
;; Parallel builds appear to be unsafe, see