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.master
parent
c0c9912b44
commit
91918e9405
gnu/packages
|
@ -158,9 +158,9 @@ Definition Facility.")
|
||||||
#$(this-package-input "libtirpc")
|
#$(this-package-input "libtirpc")
|
||||||
"/lib")
|
"/lib")
|
||||||
"LIBS=-ltirpc")
|
"LIBS=-ltirpc")
|
||||||
#:make-flags ,#~(list
|
#:make-flags ,#~(let ((gcc (search-input-file %build-inputs "/bin/gcc")))
|
||||||
(string-append "GCL_CC=" #$gcc "/bin/gcc")
|
(list (string-append "GCL_CC=" gcc)
|
||||||
(string-append "CC="#$gcc "/bin/gcc"))
|
(string-append "CC=" gcc)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'realpath-workaround
|
(add-after 'unpack 'realpath-workaround
|
||||||
|
|
Reference in New Issue