From 2988ef5e0334f9841bf23d905b0363a3b8a1a660 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 4 Apr 2019 13:38:53 -0400 Subject: Move cGHC_UNLIT_PGM to be "unlit command" in settings The bulk of the work was done in #712, making settings be make/Hadrian controlled. This commit then just moves the unlit command rules in make/Hadrian from the `Config.hs` generator to the `settings` generator in each build system. I think this is a good change because the crucial benefit is *settings* don't affect the build: ghc gets one baby step closer to being a regular cabal executable, and make/Hadrian just maintains settings as part of bootstrapping. --- includes/ghc.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') diff --git a/includes/ghc.mk b/includes/ghc.mk index 27b704d140..b7bac36ba0 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -197,6 +197,7 @@ $(includes_SETTINGS) : includes/Makefile | $$(dir $$@)/. @echo ',("dllwrap command", "$(SettingsDllWrapCommand)")' >> $@ @echo ',("windres command", "$(SettingsWindresCommand)")' >> $@ @echo ',("libtool command", "$(SettingsLibtoolCommand)")' >> $@ + @echo ',("unlit command", "$$topdir/bin/$(utils/unlit_dist_PROG)")' >> $@ @echo ',("cross compiling", "$(CrossCompiling)")' >> $@ @echo ',("target os", "$(HaskellTargetOs)")' >> $@ @echo ',("target arch", "$(HaskellTargetArch)")' >> $@ -- cgit v1.2.1