summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/compression.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 083b82bf36..43831e0ff2 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -804,7 +804,7 @@ decompression of some loosely related file formats used by Microsoft.")
        ("valgrind" ,valgrind)))
     (arguments
      `(#:test-target "test"
-       #:make-flags (list "CC=gcc"
+       #:make-flags (list (string-append "CC=" ,(cc-for-target))
                           (string-append "prefix=" (assoc-ref %outputs "out")))
        #:phases (modify-phases %standard-phases
                   (delete 'configure)            ;no configure script