Add $(GhcDynamic) knob, set to YES to get stage2 linked with -dynamic
authorSimon Marlow <marlowsd@gmail.com>
Wed, 28 Apr 2010 20:52:41 +0000 (20:52 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 28 Apr 2010 20:52:41 +0000 (20:52 +0000)
commit3c6190b0beb551f7637e7edbd1bbff803af3a79e
tree04b1aade1f989ece4f6cda4d1ea84f28773a62db
parent9105c03ffef568aab097a293313eb6ff4f0dd5dc
Add $(GhcDynamic) knob, set to YES to get stage2 linked with -dynamic
Default currently NO.

Validate passed with GhcDynamic=YES on x86/Linux here.

The compiler is currently slower on x86 when linked -dynamic,
because the GC inner loop has been adversely affected by -fPIC, I'm
looking into how to fix it.
ghc/ghc.mk
mk/config.mk.in