From 51984e25deeba8a8abbab00d89cca51f3fd051b0 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 22 Jul 2009 14:25:45 +0000 Subject: [PATCH] Fix cleaning with the new integer changes --- ghc.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc.mk b/ghc.mk index bc4642e..c1a71ae 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 -- 1.7.10.4