summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-17 19:33:06 -0400
committerBen Gamari <ben@smart-cactus.org>2019-10-27 22:42:05 -0400
commit41e068ee4e12ece6cad7da81c5aa54d2da6a9e4c (patch)
tree8127a63635b9433dac76f8616d69d0929e5ee428
parentcc4fdfe4e180deb19e712eca081c19c26c4ddf71 (diff)
downloadhaskell-41e068ee4e12ece6cad7da81c5aa54d2da6a9e4c.tar.gz
Don't include settings file in binary distribution
The configuration in the installation environment (as determined by `autoconf`) may differ from the build environment and therefore we need to be sure to rebuild the settings file. Fixes #17374.
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index cb6bbb87a0..71fc0b5868 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1041,7 +1041,7 @@ $(eval $(call bindist-list,.,\
$(wildcard compiler/stage2/doc) \
$(wildcard libraries/*/dist-install/doc/) \
$(wildcard libraries/*/*/dist-install/doc/) \
- $(filter-out llvm-targets llvm-passes,$(INSTALL_LIBS)) \
+ $(filter-out llvm-targets llvm-passes $(includes_SETTINGS),$(INSTALL_LIBS)) \
$(RTS_INSTALL_LIBS) \
$(filter-out %/project.mk mk/config.mk %/mk/install.mk,$(MAKEFILE_LIST)) \
mk/project.mk \