summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2023-05-10 13:03:48 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-05-12 06:12:14 -0400
commitc6cf9433e3d41e239265eaeff0fd02e6b45d5427 (patch)
tree2b33a673f3bcece4e11515912f7e44d8d8cc0094
parentab63daac0e0ed8749514e38d714cfcd4562f4326 (diff)
downloadhaskell-c6cf9433e3d41e239265eaeff0fd02e6b45d5427.tar.gz
hadrian: Fix mention of non-existent removeFiles function
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 37e7504969..8cd995b4e2 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)")' >> $@