X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=af7dbe9c6034a0708810967925e23712c7ff600e;hb=3ab57e452b212ca2cf361841b24d67aae1860b47;hp=1a8dc38b98089405304cc95c2bbf9da84ee3ab6b;hpb=fe1207fa2b3d8c58f63c2fcc5edaaa08d34a0c3a;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 1a8dc38..af7dbe9 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -319,8 +319,13 @@ endif # # -O is pretty desirable, otherwise no inlining of prelude # things (incl "+") happens when compiling with this compiler +# +# -fgenerics 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=-O -Rghc-timing +GhcLibHcOpts=-O -Rghc-timing -fgenerics # Win32 only: Enable the RTS and libraries to be built as DLLs DLLized=@EnableWin32DLLs@