diff options
author | Simon Marlow <marlowsd@gmail.com> | 2008-07-25 14:47:08 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2008-07-25 14:47:08 +0000 |
commit | fcc3794aeb78081c04103a0b7e7560cb8c7bea58 (patch) | |
tree | e5fd7bd2223d72ebfa6a877e046fd993b541f70b /rts/Makefile | |
parent | 9bcd5a09b7b57de8b7d6780fa7a767ff72049a7a (diff) | |
download | haskell-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/Makefile | 6 |
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 |