X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghc.mk;h=901b0695997a01dd80c881ccf44ca455bd35c202;hb=4922b3bf7e17c55b63f717fea2d9b9998bc071c6;hp=b6592f24eff867f323eec00da83cc61ad2bc3999;hpb=f041c305d30b04fea6b3b784ca3cc5151a52e06d;p=ghc-hetmet.git diff --git a/compiler/ghc.mk b/compiler/ghc.mk index b6592f2..901b069 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -35,6 +35,8 @@ compiler_stage1_MKDEPENDC_OPTS = -DMAKING_GHC_BUILD_SYSTEM_DEPENDENCIES compiler_stage2_MKDEPENDC_OPTS = -DMAKING_GHC_BUILD_SYSTEM_DEPENDENCIES compiler_stage3_MKDEPENDC_OPTS = -DMAKING_GHC_BUILD_SYSTEM_DEPENDENCIES +compiler_stage1_C_FILES_NODEPS = compiler/parser/cutils.c + ifneq "$(BINDIST)" "YES" compiler/stage1/package-data.mk : $(compiler_CONFIG_HS) compiler/stage2/package-data.mk : $(compiler_CONFIG_HS) @@ -421,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