X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=18e60e793b166530f6ae37bf6e9660a1c58d8613;hp=3749bce6b6937c3c81f7901d27dffe952a0cf395;hb=e5c3b478b3cd1707cf122833822f44b2ac09b8e9;hpb=51fd4a1db15971e8eb46a2d665dc3f1572b95653 diff --git a/mk/config.mk.in b/mk/config.mk.in index 3749bce..18e60e7 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -120,8 +120,8 @@ SharedLibsPlatformList = i386-unknown-linux x86_64-unknown-linux \ i386-unknown-mingw32 \ i386-apple-darwin powerpc-apple-darwin -ifeq ($(SOLARIS_BROKEN_SHLD), NO) -SharedLibsPlatformList := $(SharedLibsPlatformList) i386-unknown-solaris2 +ifeq "$(SOLARIS_BROKEN_SHLD)" "NO" +SharedLibsPlatformList += i386-unknown-solaris2 endif PlatformSupportsSharedLibs = $(if $(filter $(TARGETPLATFORM),\ @@ -282,13 +282,8 @@ GhcThreaded = $(if $(findstring thr,$(GhcRTSWays)),YES,NO) # # -O(2) is pretty desirable, otherwise no inlining of prelude # things (incl "+") happens when compiling with this compiler -# -# -XGenerics switches on generation of support code for -# derivable type classes. This is now off by default, -# but we switch it on for the libraries so that we generate -# the code in case someone importing wants it -GhcLibHcOpts=-O2 -XGenerics +GhcLibHcOpts=-O2 # Strip local symbols from libraries? This can make the libraries smaller, # but makes debugging somewhat more difficult. Doesn't work with all ld's.