X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compat%2FMakefile;h=a95e161c44b8e0484bec78f2f378aa607e7d2267;hb=37eae200f271bd28a6172cbbea982455626336e8;hp=dafb8a0ff00a23d99d08a8113980098ca556f1c0;hpb=954804ab61ee91361bb344b09dfe850caacc232b;p=ghc-hetmet.git diff --git a/compat/Makefile b/compat/Makefile index dafb8a0..a95e161 100644 --- a/compat/Makefile +++ b/compat/Makefile @@ -96,7 +96,13 @@ SRC_CC_OPTS += -I$(FPTOOLS_TOP)/libraries/base/cbits -I$(FPTOOLS_TOP)/libraries/ # Make the #includes in the stubs independent of the current location SRC_HC_OPTS += -I$(FPTOOLS_TOP)/libraries -SRC_HC_OPTS += -fglasgow-exts -no-recomp +SRC_HC_OPTS += -fglasgow-exts + +ifeq "$(ghc_ge_609)" "YES" +SRC_HC_OPTS += -fforce-recomp +else +SRC_HC_OPTS += -no-recomp +endif ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" Compat/Directory_HC_OPTS += -\#include shlobj.h