[commit: integer-gmp] master: Make and use AR_STAGE[0123] makefile vars (ba79205)
Ian Lynagh
igloo at earth.li
Sat Apr 23 20:27:05 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/integer-gmp
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/ba792055a87b75dcc72ae5085a40cd1f355882da
>---------------------------------------------------------------
commit ba792055a87b75dcc72ae5085a40cd1f355882da
Author: Ian Lynagh <igloo at earth.li>
Date: Sat Apr 23 17:22:36 2011 +0100
Make and use AR_STAGE[0123] makefile vars
>---------------------------------------------------------------
gmp/ghc.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gmp/ghc.mk b/gmp/ghc.mk
index d3962cd..51540c3 100644
--- a/gmp/ghc.mk
+++ b/gmp/ghc.mk
@@ -129,14 +129,14 @@ libraries/integer-gmp/gmp/libgmp.a libraries/integer-gmp/gmp/gmp.h:
PATH=`pwd`:$$PATH; \
export PATH; \
cd gmpbuild && \
- CC=$(WhatGccIsCalled) NM=$(NM) AR=$(AR) $(SHELL) configure \
+ CC=$(WhatGccIsCalled) NM=$(NM) AR=$(AR_STAGE1) $(SHELL) configure \
--enable-shared=no \
--host=$(HOSTPLATFORM) --build=$(BUILDPLATFORM)
$(MAKE) -C libraries/integer-gmp/gmp/gmpbuild MAKEFLAGS=
$(CP) libraries/integer-gmp/gmp/gmpbuild/gmp.h libraries/integer-gmp/gmp/
$(CP) libraries/integer-gmp/gmp/gmpbuild/.libs/libgmp.a libraries/integer-gmp/gmp/
$(MKDIRHIER) libraries/integer-gmp/gmp/objs
- cd libraries/integer-gmp/gmp/objs && $(AR) x ../libgmp.a
+ cd libraries/integer-gmp/gmp/objs && $(AR_STAGE1) x ../libgmp.a
$(RANLIB) libraries/integer-gmp/gmp/libgmp.a
# XXX TODO:
More information about the Cvs-libraries
mailing list