diff options
author | Marius Bakke <marius@gnu.org> | 2021-12-18 20:36:55 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-12-23 03:07:34 +0100 |
commit | 91918e94056c17aca2217db611e69265b8b7c8b9 (patch) | |
tree | fcea7de218a5604c717f8f1a514c8f6cc74e01b0 /gnu/packages/lisp.scm | |
parent | c0c9912b44deb216b2dec99a3dfd44909f1c50c4 (diff) |
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.scm | 6 |
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 |