diff options
author | Ian Lynagh <igloo@earth.li> | 2010-12-14 01:10:11 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-12-14 01:10:11 +0000 |
commit | 2247d4c49e705ee88f5249368e718c12897fe103 (patch) | |
tree | 04858b4d0dc1e356755ad94ba79616fdc464c978 /compiler/ghc.mk | |
parent | cf00e6f9496393962342df483f9555b8c71ae0c2 (diff) | |
download | haskell-2247d4c49e705ee88f5249368e718c12897fe103.tar.gz |
Remove dead code now that we require the bootstrapping compiler be >= 6.12
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r-- | compiler/ghc.mk | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 60a65d44e7..df07430596 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -371,28 +371,6 @@ compiler_stage2_CONFIGURE_OPTS += --ghc-option=-auto-all compiler_stage2_CONFIGURE_OPTS += --ghc-pkg-option=--force endif -ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" -# The #include is vital for the via-C route with older compilers, else the C -# compiler doesn't realise that the stcall foreign imports are indeed -# stdcall, and doesn't generate the Foo@8 name for them -# It's only important for older compilers, and in fact newer compilers -# will give a warning if the -#include flag is used. We therefore only -# do it for stage1, and only for < 6.11. -ifeq "$(ghc_ge_611)" "NO" -compiler_stage1_CONFIGURE_OPTS += --ghc-option='-\#include' \ - --ghc-option='"<windows.h>"' \ - --ghc-option='-\#include' \ - --ghc-option='"<process.h>"' -endif -endif - -# ghc_strlen percolates through so many modules that it is easier to get its -# prototype via a global option instead of a myriad of per-file OPTIONS. -# Again, this is only done for older compilers. -ifeq "$(ghc_ge_611)" "NO" -compiler_stage1_CONFIGURE_OPTS += --ghc-options='-\#include "cutils.h"' -endif - compiler_stage3_CONFIGURE_OPTS := $(compiler_stage2_CONFIGURE_OPTS) compiler_stage1_CONFIGURE_OPTS += --ghc-option=-DSTAGE=1 |