From c6cf9433e3d41e239265eaeff0fd02e6b45d5427 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 10 May 2023 13:03:48 -0400 Subject: 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. --- hadrian/bindist/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)")' >> $@ -- cgit v1.2.1