summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-07-22 14:25:45 +0000
committerIan Lynagh <igloo@earth.li>2009-07-22 14:25:45 +0000
commit51984e25deeba8a8abbab00d89cca51f3fd051b0 (patch)
treeb4f5a09ce3b7568bccc605597fa2be93c4f16a4f
parenteeff9887a2c308c48d5cac732e19d077feba0014 (diff)
downloadhaskell-51984e25deeba8a8abbab00d89cca51f3fd051b0.tar.gz
Fix cleaning with the new integer changes
-rw-r--r--ghc.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index bc4642e0e7..c1a71ae5a4 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -535,15 +535,17 @@ ifneq "$(findstring $(phase),0 1 2)" ""
ghc_stage1_DISABLE = YES
endif
+ifneq "$(CLEANING)" "YES"
ifeq "$(INTEGER_LIBRARY)" "integer-gmp"
libraries/base_dist-install_CONFIGURE_OPTS += --flags=-integer-simple
else
ifeq "$(INTEGER_LIBRARY)" "integer-simple"
libraries/base_dist-install_CONFIGURE_OPTS += --flags=integer-simple
else
- $(error Unknown integer library: $(INTEGER_LIBRARY))
+$(error Unknown integer library: $(INTEGER_LIBRARY))
endif
endif
+endif
ifneq "$(findstring $(phase),0 1 2 3)" ""
# In phases 0-3, we disable stage2-3, the full libraries and haddock