summaryrefslogtreecommitdiff
path: root/gmp
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-03-05 13:45:56 +0000
committerIan Lynagh <igloo@earth.li>2008-03-05 13:45:56 +0000
commit7576f4c2e76f4d510b99ae2dac1a586809fe91f1 (patch)
tree5bbd2b9eea48679c4fe330639441662567141bd3 /gmp
parentade2870f9be663775e9fc62cf43edf967e268199 (diff)
downloadhaskell-7576f4c2e76f4d510b99ae2dac1a586809fe91f1.tar.gz
Fix bashisms; patch from Bernie Pope
Diffstat (limited to 'gmp')
-rw-r--r--gmp/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/gmp/Makefile b/gmp/Makefile
index ab661d9f13..de36b2d1b5 100644
--- a/gmp/Makefile
+++ b/gmp/Makefile
@@ -64,7 +64,8 @@ stamp.gmp.static:
mv $(GMP_DIR) gmpbuild
chmod +x ln
(set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \
- export PATH=`pwd`:$$PATH; \
+ PATH=`pwd`:$$PATH; \
+ export PATH; \
cd gmpbuild && \
CC=$(WhatGccIsCalled) $(SHELL) configure \
--enable-shared=no --host=$(PLATFORM) --build=$(PLATFORM)
@@ -76,7 +77,8 @@ stamp.gmp.shared:
mv $(GMP_DIR) gmpbuild-shared
chmod +x ln
(set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \
- export PATH=`pwd`:$$PATH; \
+ PATH=`pwd`:$$PATH; \
+ export PATH; \
cd gmpbuild-shared && \
CC=$(WhatGccIsCalled) $(SHELL) configure \
--enable-shared=yes --disable-static --host=$(PLATFORM) --build=$(PLATFORM)