From: Ian Lynagh Date: Tue, 18 May 2010 18:50:14 +0000 (+0000) Subject: Set more env variables when configuring libffi X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=9318157b987052f5dbd4df19f2e8ba1beeabc8ee Set more env variables when configuring libffi We now tell it where to find ld, nm and ar --- diff --git a/libffi/ghc.mk b/libffi/ghc.mk index 8d452b3..d9b1c01 100644 --- a/libffi/ghc.mk +++ b/libffi/ghc.mk @@ -127,6 +127,9 @@ $(libffi_STAMP_CONFIGURE): export PATH; \ cd build && \ CC=$(WhatGccIsCalled) \ + LD=$(LD) \ + AR=$(AR) \ + NM=$(NM) \ CFLAGS="$(SRC_CC_OPTS) $(CONF_CC_OPTS) -w" \ LDFLAGS="$(SRC_LD_OPTS) $(CONF_LD_OPTS) -w" \ "$(SHELL)" configure \