guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/08: gnu: ghc-4: Embed absolute file name of GCC in GHC.


From: guix-commits
Subject: 06/08: gnu: ghc-4: Embed absolute file name of GCC in GHC.
Date: Fri, 28 Oct 2022 09:04:32 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 65ad002ff10962f83bddf5070c22812f07b6437b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Oct 28 13:12:49 2022 +0200

    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.
---
 gnu/packages/haskell.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 3eaf956d73..0caf741715 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]