summaryrefslogtreecommitdiff
path: root/mk/config.mk.in
diff options
context:
space:
mode:
authorJose Pedro Magalhaes <jpm@cs.uu.nl>2011-05-05 13:26:24 +0200
committerJose Pedro Magalhaes <jpm@cs.uu.nl>2011-05-05 13:26:24 +0200
commit54ca48a98d49f21bb485241e85ed473236420b6d (patch)
treec9bdecf7ad49d2b26c8ebb112c1431b8d439bb64 /mk/config.mk.in
parent9b08b5ff73fdc868ea2e3794570f9a1f6af51673 (diff)
downloadhaskell-54ca48a98d49f21bb485241e85ed473236420b6d.tar.gz
Do not enable -XGenerics when building the optimized libs.
Diffstat (limited to 'mk/config.mk.in')
-rw-r--r--mk/config.mk.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 3749bce6b6..d4a7cbeaf0 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -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.