summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-06-02 20:56:43 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-06-02 20:57:39 +0200
commit395659d86d98afaba4d311ca5618f49a4548f6ae (patch)
tree51237eebebaaf50b7dd488043cbbca9b696dd9d3
parentd9fda98049b7758c5af49aca83f9e29ae2cd64d5 (diff)
downloadguix-395659d86d98afaba4d311ca5618f49a4548f6ae.tar.gz
gnu: sct: Prepare for cross-compilation.
* gnu/packages/xdisorg.scm (sct)[arguments]: Use CC-FOR-TARGET.
-rw-r--r--gnu/packages/xdisorg.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 60873637cf..ee6b1a9ffd 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1922,8 +1922,9 @@ colors on all monitors attached to an XRandR-capable X11 display server.")
         (base32 "0lrhx771iccbw04wrhj0ygids1pzmjfc4hvklm30m3p3flvhqf0m"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:make-flags (list "CC=gcc")
-       #:tests? #f ; No tests exist.
+     `(#:make-flags
+       (list ,(string-append "CC=" (cc-for-target)))
+       #:tests? #f                      ; no test suite
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)