aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-14 10:30:42 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-14 10:30:42 +0300
commitf165f7c9cb12f53b11ea5874e7e5bb07ee3beef7 (patch)
treed375045375c4cabfbbd880b8381644d6c1281526 /gnu
parent858bb37a1daf276ac272aee0109eb4c17d8a2d23 (diff)
downloadguix-f165f7c9cb12f53b11ea5874e7e5bb07ee3beef7.tar.gz
guix-f165f7c9cb12f53b11ea5874e7e5bb07ee3beef7.zip
gnu: sxiv: Use 'cc-for-target'.
* gnu/packages/image-viewers.scm (sxiv)[arguments]: Replace hard-coded gcc substitution with cc-for-target in make-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/image-viewers.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 2f78458a06..05e09263a0 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -203,7 +203,7 @@ It is the default image viewer on LXDE desktop environment.")
`(#:tests? #f ; no check target
#:make-flags
(list (string-append "PREFIX=" %output)
- "CC=gcc"
+ (string-append "CC=" ,(cc-for-target))
;; Xft.h #includes <ft2build.h> without ‘freetype2/’. The Makefile
;; works around this by hard-coding /usr/include & $PREFIX.
(string-append "CPPFLAGS=-I"