aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/compression.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index c5e72a5084..d61c6bf719 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -804,7 +804,10 @@ decompression of some loosely related file formats used by Microsoft.")
("valgrind" ,valgrind)))
(arguments
`(#:test-target "test"
- #:make-flags (list "CC=gcc"
+ ;; TODO: Integrate in next rebuild cycle.
+ #:make-flags (list ,(if (%current-target-system)
+ (string-append "CC=" (cc-for-target))
+ "CC=gcc")
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure) ;no configure script