diff options
author | Ian Lynagh <igloo@earth.li> | 2012-03-15 15:07:59 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-03-15 15:57:13 +0000 |
commit | 69f98b8fe3f70fa053494abaf01242038c4335c0 (patch) | |
tree | b2cc6db1a2e5cf72d4477b41d4188d1facd529bb /rts/ghc.mk | |
parent | 97c24cddca60e80ec150483482c2a5dc1e506a76 (diff) | |
download | haskell-69f98b8fe3f70fa053494abaf01242038c4335c0.tar.gz |
Fix stg_block_async on unreg compilers
This is only defined on Windows, so hadn't come up in our Linux
unreg builds.
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r-- | rts/ghc.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index fc634c7ff2..99b917cd56 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -311,6 +311,10 @@ rts/RtsUtils_CC_OPTS += -DTargetVendor=\"$(TargetVendor_CPP)\" rts/RtsUtils_CC_OPTS += -DGhcUnregisterised=\"$(GhcUnregisterised)\" rts/RtsUtils_CC_OPTS += -DGhcEnableTablesNextToCode=\"$(GhcEnableTablesNextToCode)\" +ifeq "$(GhcUnregisterised)" "YES" +rts/HeapStackCheck_HC_OPTS += -DGhcUnregisterised=1 +endif + # Compile various performance-critical pieces *without* -fPIC -dynamic # even when building a shared library. If we don't do this, then the # GC runs about 50% slower on x86 due to the overheads of PIC. The |