guix-commits
[Top][All Lists]
Advanced

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

03/08: gnu: gcl: Avoid referencing GCC from the top-level.


From: guix-commits
Subject: 03/08: gnu: gcl: Avoid referencing GCC from the top-level.
Date: Wed, 22 Dec 2021 21:15:18 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 91918e94056c17aca2217db611e69265b8b7c8b9
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Dec 18 20:36:55 2021 +0100

    gnu: gcl: Avoid referencing GCC from the top-level.
    
    * gnu/packages/lisp.scm (gcl)[arguments]: Use SEARCH-INPUT-FILE instead of
    referencing the GCC variable.
---
 gnu/packages/lisp.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 8c1a5f9..585bf19 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -158,9 +158,9 @@ Definition Facility.")
                                               #$(this-package-input "libtirpc")
                                               "/lib")
                                "LIBS=-ltirpc")
-         #:make-flags ,#~(list
-                          (string-append "GCL_CC=" #$gcc "/bin/gcc")
-                          (string-append "CC="#$gcc "/bin/gcc"))
+         #:make-flags ,#~(let ((gcc (search-input-file %build-inputs 
"/bin/gcc")))
+                           (list (string-append "GCL_CC=" gcc)
+                                 (string-append "CC=" gcc)))
          #:phases
          (modify-phases %standard-phases
            (add-after 'unpack 'realpath-workaround



reply via email to

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