mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: ghc-4: Embed absolute file name of GCC in GHC.
* gnu/packages/haskell.scm (ghc-4)[arguments]: Pass "--with-gcc" option to configure script.
This commit is contained in:
@@ -311,6 +311,9 @@ GhcWithHscBuiltViaC=YES
|
||||
")))
|
||||
(invoke "./configure"
|
||||
"--enable-hc-boot" ; boot from C "source" files
|
||||
;; Embed the absolute file name of GCC 2.95 in the GHC
|
||||
;; driver script.
|
||||
(string-append "--with-gcc=" (which "gcc"))
|
||||
(string-append "--prefix=" #$output)
|
||||
(string-append "--build=" build)
|
||||
(string-append "--host=" build))))
|
||||
|
||||
Reference in New Issue
Block a user