diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-06-10 08:08:42 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-06-10 08:08:42 +0000 |
commit | b749fed9ffceee25b6be6d53354cc86cec354b69 (patch) | |
tree | a60a10446f8e8958efd72cca50c222ee1b3c35ee /libraries/integer-gmp/gmp | |
parent | 25280774b2f603e780eed61425139fa9b902d2f7 (diff) | |
download | haskell-b749fed9ffceee25b6be6d53354cc86cec354b69.tar.gz |
pass $(AR) to the GMP build
Diffstat (limited to 'libraries/integer-gmp/gmp')
-rw-r--r-- | libraries/integer-gmp/gmp/ghc.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/integer-gmp/gmp/ghc.mk b/libraries/integer-gmp/gmp/ghc.mk index 0e6a4aa965..8496b8368d 100644 --- a/libraries/integer-gmp/gmp/ghc.mk +++ b/libraries/integer-gmp/gmp/ghc.mk @@ -116,15 +116,13 @@ libraries/integer-gmp/gmp/libgmp.a libraries/integer-gmp/gmp/gmp.h: PATH=`pwd`:$$PATH; \ export PATH; \ cd gmpbuild && \ - CC=$(WhatGccIsCalled) NM=$(NM) $(SHELL) configure \ + CC=$(WhatGccIsCalled) NM=$(NM) AR=$(AR) $(SHELL) configure \ --enable-shared=no --host=$(PLATFORM) --build=$(PLATFORM) $(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 -# XXX This should be $(AR), except that has the creation options baked in, -# so we use ar for now instead - cd libraries/integer-gmp/gmp/objs && ar x ../libgmp.a + cd libraries/integer-gmp/gmp/objs && $(AR) x ../libgmp.a $(RANLIB) libraries/integer-gmp/gmp/libgmp.a ifneq "$(NO_CLEAN_GMP)" "YES" |