summaryrefslogtreecommitdiff
path: root/rts/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-07-25 14:47:08 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-07-25 14:47:08 +0000
commitfcc3794aeb78081c04103a0b7e7560cb8c7bea58 (patch)
treee5fd7bd2223d72ebfa6a877e046fd993b541f70b /rts/Makefile
parent9bcd5a09b7b57de8b7d6780fa7a767ff72049a7a (diff)
downloadhaskell-fcc3794aeb78081c04103a0b7e7560cb8c7bea58.tar.gz
move an inline function to keep older versions of gcc happy
no idea why this only just showed up...
Diffstat (limited to 'rts/Makefile')
-rw-r--r--rts/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/rts/Makefile b/rts/Makefile
index 6fe606943e..8ca69efc4c 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