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.
This commit is contained in:
parent
858bb37a1d
commit
f165f7c9cb
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ It is the default image viewer on LXDE desktop environment.")
|
||||||
`(#:tests? #f ; no check target
|
`(#:tests? #f ; no check target
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "PREFIX=" %output)
|
(list (string-append "PREFIX=" %output)
|
||||||
"CC=gcc"
|
(string-append "CC=" ,(cc-for-target))
|
||||||
;; Xft.h #includes <ft2build.h> without ‘freetype2/’. The Makefile
|
;; Xft.h #includes <ft2build.h> without ‘freetype2/’. The Makefile
|
||||||
;; works around this by hard-coding /usr/include & $PREFIX.
|
;; works around this by hard-coding /usr/include & $PREFIX.
|
||||||
(string-append "CPPFLAGS=-I"
|
(string-append "CPPFLAGS=-I"
|
||||||
|
|
Reference in a new issue