summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2006-03-13 09:57:10 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2006-03-13 09:57:10 +0000
commit21945c5ac725611f00499d7405bf498077a951dd (patch)
treec0849422fd10f835d09feb9010e4b656982ae385 /eclass
parentFix omission in hppa support. (diff)
downloadgentoo-2-21945c5ac725611f00499d7405bf498077a951dd.tar.gz
gentoo-2-21945c5ac725611f00499d7405bf498077a951dd.tar.bz2
gentoo-2-21945c5ac725611f00499d7405bf498077a951dd.zip
Reduce arch-specific conditionals to the minimum necessary (ie only ppc64).
Diffstat (limited to 'eclass')
-rw-r--r--eclass/haskell-cabal.eclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index 24ece5339e5f..66c3fbea78d9 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.5 2006/03/01 12:54:35 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.6 2006/03/13 09:57:10 dcoutts Exp $
#
# Original authors: Andres Loeh <kosmikus@gentoo.org>
# Duncan Coutts <dcoutts@gentoo.org>
@@ -126,9 +126,8 @@ cabal-configure() {
cabalconf="${cabalconf} --enable-executable-profiling";
cabalconf="${cabalconf} --enable-library-profiling"
fi
- # Don't build GHCi libs for arches that do not support GHCi.
- # Also building GHCi libs on ppc64 causes "TOC overflow".
- if use alpha || use ppc64; then
+ # Building GHCi libs on ppc64 causes "TOC overflow".
+ if use ppc64; then
cabalconf="${cabalconf} --disable-library-for-ghci"
fi