summaryrefslogtreecommitdiff
path: root/ghc/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/ghc.mk')
-rw-r--r--ghc/ghc.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index 9747e34dcc..b1f9f57d81 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -129,10 +129,7 @@ all_ghc_stage1 : $(GHC_STAGE1)
all_ghc_stage2 : $(GHC_STAGE2)
all_ghc_stage3 : $(GHC_STAGE3)
-settings : $(includes_SETTINGS)
- "$(CP)" $< $@
-
-$(INPLACE_LIB)/settings : settings
+$(INPLACE_LIB)/settings : $(includes_SETTINGS)
"$(CP)" $< $@
$(INPLACE_LIB)/llvm-targets : llvm-targets
@@ -171,7 +168,7 @@ $(GHC_STAGE2) : $(foreach w,$(GhcLibWays),libraries/base/dist-install/build/GHC/
endif
-INSTALL_LIBS += settings
+INSTALL_LIBS += $(includes_SETTINGS)
INSTALL_LIBS += llvm-targets
INSTALL_LIBS += llvm-passes