diff options
-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 |