X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FMakefile;h=8ca69efc4c3b2f9e8be68a6e67a27fa21e0eaa8b;hb=897301c7e96976aae30ed6ad23b0b682151cd734;hp=6fe606943ed9f00e7c55dee0358d64503a47a89e;hpb=d16f69bd77467961e80e27caff5c5bd686afa90b;p=ghc-hetmet.git diff --git a/rts/Makefile b/rts/Makefile index 6fe6069..8ca69ef 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -161,6 +161,12 @@ ifeq "$(UseLibFFIForAdjustors)" "YES" SRC_CC_OPTS += -DUSE_LIBFFI_FOR_ADJUSTORS endif +ifeq "$(Windows)" "YES" +# SDM: when compiled with -fasm the RTS currently has bogus references to +# __imp_base_ things, so working around for now: +SRC_HC_OPTS = -fvia-C +endif + ifneq "$(DYNAMIC_RTS)" "YES" SRC_HC_OPTS += -static else