diff options
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r-- | compiler/ghc.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 7766482509..08004b1c5c 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -93,9 +93,8 @@ compiler/stage$1/build/GHC/Settings/Config.hs : mk/config.mk mk/project.mk | $$$ @echo 'cStage = show ($1 :: Int)' >> $$@ @echo done. -compiler/stage$1/build/GHC/Platform/Constants.hs : $$(includes_GHCCONSTANTS_HASKELL_TYPE) | $$$$(dir $$$$@)/. - $$(call removeFiles,$$@) - "$$(CP)" $$< $$@ +compiler/stage$1/build/GHC/Platform/Constants.hs : $$(deriveConstants_INPLACE) | $$$$(dir $$$$@)/. + $$< --gen-haskell-type -o $$@ endef $(eval $(call compilerConfig,0)) |