me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2020-09-14 10:30:42 +03:00
parent 858bb37a1d
commit f165f7c9cb
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 1 additions and 1 deletions

View File

@ -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"