summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2023-05-10 13:03:48 -0400
committerBen Gamari <ben@smart-cactus.org>2023-05-10 13:05:24 -0400
commitfe55f00917965430db567d6ce5da25a273bb3083 (patch)
tree7b158a0aef6943889caa28b170dd02ea6825b198
parentb2cdb7dacc095142e29c0f28a956b7fa97cdb4b1 (diff)
downloadhaskell-wip/T23373.tar.gz
hadrian: Fix mention of non-existent removeFiles functionwip/T23373
Previously Hadrian's bindist Makefile referred to a `removeFiles` function that was previously defined by the `make` build system. Since the `make` build system is no longer around, this function is now undefined. Naturally, make being make, this appears to be silently ignored instead of producing an error. Fix this by rewriting it to `rm -f`. Closes #23373.
-rw-r--r--hadrian/bindist/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/bindist/Makefile b/hadrian/bindist/Makefile
index 3f18720253..8c544e3adf 100644
--- a/hadrian/bindist/Makefile
+++ b/hadrian/bindist/Makefile
@@ -78,7 +78,7 @@ WrapperBinsDir=${bindir}
# N.B. this is duplicated from includes/ghc.mk.
lib/settings : config.mk
- $(call removeFiles,$@)
+ @rm -f $@
@echo '[("GCC extra via C opts", "$(GccExtraViaCOpts)")' >> $@
@echo ',("C compiler command", "$(SettingsCCompilerCommand)")' >> $@
@echo ',("C compiler flags", "$(SettingsCCompilerFlags)")' >> $@