mk/config.mk.in: lower -O2 optimization down to -O1 on UNREG
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 13 Feb 2014 13:29:50 +0000 (07:29 -0600)
committerAustin Seipp <austin@well-typed.com>
Mon, 17 Feb 2014 07:46:03 +0000 (01:46 -0600)
commit2d5372cfdc2236a77ec49df249f3379b93224e06
tree57a9c0c28677e96c3e913999a9a8b781c719ebeb
parent2d0fa9aee78e5bfffb9a4580954825025a651be5
mk/config.mk.in: lower -O2 optimization down to -O1 on UNREG

Disable -O2 optimization. Otherwise amount of generated C code makes
things very slow to compile (~5 minutes on core-i7 for 'compiler/hsSyn/HsExpr.lhs')

And sometimes not compile at all (powerpc64 overflows something
on 'compiler/hsSyn/HsExpr.lhs').

Issue #8748

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Austin Seipp <austin@well-typed.com>
mk/config.mk.in