Add $(GhcDynamic) knob, set to YES to get stage2 linked with -dynamic
[ghc-hetmet.git] / mk / config.mk.in
index d12cbff..fcf7e0d 100644 (file)
@@ -99,14 +99,12 @@ GhcStage3HcOpts=-O2
 
 GhcProfiled=NO
 GhcDebugged=NO
+GhcDynamic=NO
 GhcLibProfiled=$(if $(filter p,$(GhcLibWays)),YES,NO)
 
 # Do we support shared libs?
 PlatformSupportsSharedLibs = $(if $(filter $(TARGETPLATFORM),i386-unknown-linux x86_64-unknown-linux i386-unknown-freebsd x86_64-unknown-freebsd i386-unknown-mingw32 i386-apple-darwin),YES,NO)
 
-# ToDo later:
-# BuildStaticLibs=@BuildStaticLibs@
-
 # Build a compiler that will build *unregisterised* libraries and
 # binaries by default.  Unregisterised code is supposed to compile and
 # run without any support for architecture-specific assembly mangling,