diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/ghc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk index f89d0ca482..6b7fb6f1ba 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -163,7 +163,7 @@ $$(includes_$1_H_PLATFORM) : includes/ghc.mk includes/Makefile | $$$$(dir $$$$@) @echo "#if !defined(__GHCPLATFORM_H__)" > $$@ @echo "#define __GHCPLATFORM_H__" >> $$@ @echo >> $$@ - @echo "#define GHC_STAGE $1" >> $$@ + @echo "#define GHC_STAGE ($1 + 1)" >> $$@ @echo >> $$@ @echo "#define BuildPlatform_TYPE $(BuildPlatform_$1_CPP)" >> $$@ @echo "#define HostPlatform_TYPE $(HostPlatform_$1_CPP)" >> $$@ |