Correct the gmp build phase
authorIan Lynagh <igloo@earth.li>
Mon, 17 Jan 2011 12:22:45 +0000 (12:22 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 17 Jan 2011 12:22:45 +0000 (12:22 +0000)
gmp/ghc.mk

index 14c3e77..068d87d 100644 (file)
@@ -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