guix-commits
[Top][All Lists]
Advanced

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

12/13: build: haskell-build-system: Remove unused linker flags.


From: guix-commits
Subject: 12/13: build: haskell-build-system: Remove unused linker flags.
Date: Sat, 21 Jan 2023 06:55:20 -0500 (EST)

lbraun pushed a commit to branch wip-haskell
in repository guix.

commit a6177959c804e888677063e912ed384b9e5cc340
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Jan 20 16:57:27 2023 +0100

    build: haskell-build-system: Remove unused linker flags.
    
    They were inserted as-is, without expandind variables into binaries.
    
    * guix/build/haskell-build-system.scm (configure): Remove --ghc-option.
---
 guix/build/haskell-build-system.scm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/guix/build/haskell-build-system.scm 
b/guix/build/haskell-build-system.scm
index 72e12ba746..759d3c5d17 100644
--- a/guix/build/haskell-build-system.scm
+++ b/guix/build/haskell-build-system.scm
@@ -103,8 +103,6 @@ and parameters ~s~%"
                    "--enable-shared"
                    "--enable-executable-dynamic"
                    "--ghc-option=-fPIC"
-                   ,(string-append "--ghc-option=-optl=-Wl,-rpath=" (or lib 
out)
-                                   "/lib/$compiler/$pkg-$version")
                    ,@configure-flags)))
     ;; Cabal errors if GHC_PACKAGE_PATH is set during 'configure', so unset
     ;; and restore it.



reply via email to

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