summaryrefslogtreecommitdiff
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
commitaf0bd313e4edd1c271db8f46784893f1ed3001cb (patch)
tree88da715bff179f5e7b243d4200cb423a1ac770b3 /eclass/haskell-cabal.eclass
parentFix omission in hppa support. (diff)
downloadhistorical-af0bd313e4edd1c271db8f46784893f1ed3001cb.tar.gz
historical-af0bd313e4edd1c271db8f46784893f1ed3001cb.tar.bz2
historical-af0bd313e4edd1c271db8f46784893f1ed3001cb.zip
Reduce arch-specific conditionals to the minimum necessary (ie only ppc64).
Diffstat (limited to 'eclass/haskell-cabal.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