mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:26:21 +01:00
gnu: oil: Don't hardcode gcc.
* gnu/packages/shells.scm (oil)[arguments]: In custom 'configure phase use cc-for-target instead of hardcoding gcc.
This commit is contained in:
parent
02406d5c51
commit
ae144ec797
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ (define-public oil
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue