summaryrefslogtreecommitdiff
path: root/rules/build-prog.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/build-prog.mk')
-rw-r--r--rules/build-prog.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk
index 3e9bc89e29..f2f6ad2551 100644
--- a/rules/build-prog.mk
+++ b/rules/build-prog.mk
@@ -22,14 +22,12 @@ $(call profStart, build-prog($1,$2,$3))
# $2 = distdir
# $3 = GHC stage to use (0 == bootstrapping compiler)
-ifneq "$$(CLEANING)" "YES"
ifeq "$$($1_$2_PROGNAME)" ""
$$(error $1_$2_PROGNAME is not set)
endif
ifneq "$$($1_$2_PROG)" ""
$$(error $1_$2_PROG is set)
endif
-endif
$1_$2_PROG = $$($1_$2_PROGNAME)$$(exeext$3)
ifeq "$$(findstring $3,0 1 2)" ""
@@ -91,11 +89,9 @@ else
$1_$2_INPLACE =
endif
else
-ifneq "$$(CLEANING)" "YES"
ifneq "$$($$($1_$2_PROGNAME)_INPLACE)" ""
$$(error $$($1_$2_PROGNAME)_INPLACE defined twice)
endif
-endif
ifeq "$$($1_$2_TOPDIR)" "YES"
$$($1_$2_PROGNAME)_INPLACE = $$(INPLACE_TOPDIR)/$$($1_$2_PROG)
else