Don't actually build ghc itself with -dynamic
authorDuncan Coutts <duncan@well-typed.com>
Wed, 29 Apr 2009 14:29:40 +0000 (14:29 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Wed, 29 Apr 2009 14:29:40 +0000 (14:29 +0000)
For now, with --enable-shared we'll build the libs shared,
but ghc itself will still be statically linked.
In any case, we would want to be able to build it both
ways so it's easy to test both.

ghc/ghc.mk

index 2f6fb80..6df7c0c 100644 (file)
@@ -33,10 +33,6 @@ ghc_stage2_HC_OPTS += -threaded
 ghc_stage3_HC_OPTS += -threaded
 endif
 
-ifeq "$(BuildSharedLibs)" "YES"
-ghc_HC_OPTS += -dynamic
-endif
-
 # XXX ToDp
 # ifeq "$(GhcProfiled)" "YES"