summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-17 19:33:06 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-29 20:31:36 -0400
commitdb602643358181567ca4d386e43c6f2c30b193e7 (patch)
tree80365ae5a5efc5b527e9a5f4faf205375be59eea /ghc.mk
parenta7f423eedf79fb7379bb666b90ae6bf67edf35b6 (diff)
downloadhaskell-db602643358181567ca4d386e43c6f2c30b193e7.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.
Diffstat (limited to 'ghc.mk')
-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 \