me
/
guix
Archived
1
0
Fork 0

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.
Ricardo Wurmus 2022-10-28 13:12:49 +02:00
parent 75b24abf09
commit 65ad002ff1
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 0 deletions

View File

@ -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))))