[commit: ghc] master: Pass --with-ld=$(LD) to ghc-cabal when configuring packages (#6086) (f77291d)

Simon Marlow marlowsd at gmail.com
Wed Jan 16 15:38:31 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/f77291d60f33fe601dbe0ff94b0192c5cd4ad6b5

>---------------------------------------------------------------

commit f77291d60f33fe601dbe0ff94b0192c5cd4ad6b5
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Wed Jan 16 14:15:47 2013 +0000

    Pass --with-ld=$(LD) to ghc-cabal when configuring packages (#6086)

>---------------------------------------------------------------

 rules/build-package-data.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk
index bbe8652..2c7b853 100644
--- a/rules/build-package-data.mk
+++ b/rules/build-package-data.mk
@@ -75,6 +75,7 @@ $1_$2_CONFIGURE_OPTS += $$(BOOT_PKG_CONSTRAINTS)
 endif
 
 $1_$2_CONFIGURE_OPTS += --with-gcc="$$(CC_STAGE$3)"
+$1_$2_CONFIGURE_OPTS += --with-ld="$$(LD)"
 $1_$2_CONFIGURE_OPTS += --configure-option=--with-cc="$$(CC_STAGE$3)"
 $1_$2_CONFIGURE_OPTS += --with-ar="$$(AR_STAGE$3)"
 $1_$2_CONFIGURE_OPTS += --with-ranlib="$$(RANLIB)"





More information about the ghc-commits mailing list