summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-05-23 21:58:12 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-05-23 22:15:48 +0100
commit725c067ee23c5a007d9d282423f170cc3660fdca (patch)
tree566c79375757d8401459cecffdc83aa8c686fd2c /dev-lang/ghc/ghc-8.0.2.ebuild
parentmedia-plugins/audacious-plugins: bug fix for #596444 and possibly others (diff)
downloadgentoo-725c067ee23c5a007d9d282423f170cc3660fdca.tar.gz
gentoo-725c067ee23c5a007d9d282423f170cc3660fdca.tar.bz2
gentoo-725c067ee23c5a007d9d282423f170cc3660fdca.zip
dev-lang/ghc: restore HCFLAGS=-O1 for UNREG arches
This fix is primary to restore ia64 support. But in general it speeds GHC build up substantially: from 10+ hours down to 3.5 hours. Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-lang/ghc/ghc-8.0.2.ebuild')
-rw-r--r--dev-lang/ghc/ghc-8.0.2.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/ghc/ghc-8.0.2.ebuild b/dev-lang/ghc/ghc-8.0.2.ebuild
index 5dc0277ec6fd..6ca4874cefef 100644
--- a/dev-lang/ghc/ghc-8.0.2.ebuild
+++ b/dev-lang/ghc/ghc-8.0.2.ebuild
@@ -459,6 +459,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-8.0.1-par-g0-on-A32.patch
epatch "${FILESDIR}"/${PN}-8.0.2_rc2-old-sphinx.patch
epatch "${FILESDIR}"/${PN}-8.0.2-libffi-alpha.patch
+ epatch "${FILESDIR}"/${PN}-8.0.2-O2-unreg.patch
if use prefix; then
# Make configure find docbook-xsl-stylesheets from Prefix