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
parent
858bb37a1d
commit
f165f7c9cb
|
@ -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"
|
||||
|
|
Reference in New Issue