me
/
guix
Archived
1
0
Fork 0

gnu: oil: Don't hardcode gcc.

* gnu/packages/shells.scm (oil)[arguments]: In custom 'configure phase
use cc-for-target instead of hardcoding gcc.
master
Efraim Flashner 2020-09-20 23:40:46 +03:00
parent 02406d5c51
commit ae144ec797
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 1 additions and 1 deletions
gnu/packages

View File

@ -829,7 +829,7 @@ Shell (pdksh).")
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(setenv "CC" "gcc")
(setenv "CC" ,(cc-for-target))
(substitute* "configure"
((" cc ") " $CC "))
(invoke "./configure" (string-append "--prefix=" out)