X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fghc.mk;h=901b0695997a01dd80c881ccf44ca455bd35c202;hp=c237df7a5c30143ad0d017044fcd6515bc975ad5;hb=93853f4fd8722cc829570ac34808c60a3f5b74d5;hpb=d9a2eefd17cd91e7193616d955056fddf3dab305 diff --git a/compiler/ghc.mk b/compiler/ghc.mk index c237df7..901b069 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -423,9 +423,11 @@ compiler_PACKAGE = ghc # below. # The ProjectPatchLevel > 20000000 iff it's a date. If it's e.g. 6.12.1 # then we don't want to remove it +ifneq "$(CLEANING)" "YES" ifeq "$(shell [ $(ProjectPatchLevel) -gt 20000000 ] && echo YES)" "YES" compiler_stage1_VERSION_MUNGED = YES endif +endif ifeq "$(compiler_stage1_VERSION_MUNGED)" "YES" define compiler_PACKAGE_MAGIC