diff options
author | Ben Gamari <ben@smart-cactus.org> | 2023-05-10 13:03:48 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2023-05-10 13:05:24 -0400 |
commit | fe55f00917965430db567d6ce5da25a273bb3083 (patch) | |
tree | 7b158a0aef6943889caa28b170dd02ea6825b198 | |
parent | b2cdb7dacc095142e29c0f28a956b7fa97cdb4b1 (diff) | |
download | haskell-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/Makefile | 2 |
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)")' >> $@ |