From afe6cc08c4738ff552e858a3a70eb6d2f5510dcd Mon Sep 17 00:00:00 2001
From: Ian Lynagh <igloo@earth.li>
Date: Mon, 17 Jan 2011 12:22:45 +0000
Subject: [PATCH] Correct the gmp build phase

---
 gmp/ghc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gmp/ghc.mk b/gmp/ghc.mk
index 14c3e77..068d87d 100644
--- a/gmp/ghc.mk
+++ b/gmp/ghc.mk
@@ -33,7 +33,7 @@ clean_gmp:
 	"$(RM)" $(RM_OPTS_REC) libraries/integer-gmp/gmp/gmpbuild
 endif
 
-ifneq "$(phase)" "0"
+ifeq "$(phase_3_done)" "YES"
 
 ifeq "$(findstring clean,$(MAKECMDGOALS))" ""
 include libraries/integer-gmp/gmp/config.mk
-- 
GitLab