guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: sxiv: Use 'cc-for-target'.


From: guix-commits
Subject: 03/03: gnu: sxiv: Use 'cc-for-target'.
Date: Mon, 14 Sep 2020 03:31:48 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f165f7c9cb12f53b11ea5874e7e5bb07ee3beef7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Sep 14 10:30:42 2020 +0300

    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.
---
 gnu/packages/image-viewers.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 2f78458..05e0926 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]