summary refs log tree commit diff
path: root/gnu/packages/lisp.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-12-18 20:36:55 +0100
committerMarius Bakke <marius@gnu.org>2021-12-23 03:07:34 +0100
commit91918e94056c17aca2217db611e69265b8b7c8b9 (patch)
treefcea7de218a5604c717f8f1a514c8f6cc74e01b0 /gnu/packages/lisp.scm
parentc0c9912b44deb216b2dec99a3dfd44909f1c50c4 (diff)
downloadguix-91918e94056c17aca2217db611e69265b8b7c8b9.tar.gz
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.
Diffstat (limited to 'gnu/packages/lisp.scm')
-rw-r--r--gnu/packages/lisp.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 8c1a5f90a0..585bf19baa 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