mk/config.mk.in: lower -O2 optimization down to -O1 on UNREG

Authored by trofi on Feb 13 2014, 7:29 AM.

Description

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 Trac #8748

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

Details

Committed
austinFeb 17 2014, 1:46 AM
Pushed
bgamariAug 25 2016, 1:39 PM
Parents
rGHCDIFF2d0fa9aee78e: rts/package.conf.in: fix UNREG on --with-system-libffi when include-dir is…
Branches
Unknown
Tags
Unknown