diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-04-30 10:02:45 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-04-30 10:02:45 +0000 |
commit | 2906aee671f5de07e7ad7acde21860442d127ef7 (patch) | |
tree | 05c84597e56bc08f310fe5bcfce5b5b5115906fd /ghc/ghc.mk | |
parent | 5d6bfce45fab55d839748383d97cdd7eba7b809e (diff) | |
download | haskell-2906aee671f5de07e7ad7acde21860442d127ef7.tar.gz |
FIX build: add dependencies on ghc_boot_platform.h
Diffstat (limited to 'ghc/ghc.mk')
-rw-r--r-- | ghc/ghc.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk index 6df7c0cd27..d72305c2a4 100644 --- a/ghc/ghc.mk +++ b/ghc/ghc.mk @@ -104,6 +104,11 @@ ghc/stage1/build/tmp/$(ghc_stage1_PROG) : $(compiler_stage1_v_LIB) ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(compiler_stage2_v_LIB) ghc/stage3/build/tmp/$(ghc_stage3_PROG) : $(compiler_stage3_v_LIB) +# Modules here import HsVersions.h, so we need ghc_boot_platform.h +$(ghc_stage1_depfile) : compiler/stage1/$(PLATFORM_H) +$(ghc_stage2_depfile) : compiler/stage2/$(PLATFORM_H) +$(ghc_stage3_depfile) : compiler/stage3/$(PLATFORM_H) + all_ghc_stage1 : $(GHC_STAGE1) all_ghc_stage2 : $(GHC_STAGE2) all_ghc_stage3 : $(GHC_STAGE3) |