Reduce arch-specific conditionals to the minimum necessary (ie only ppc64).
authorDuncan Coutts <dcoutts@gentoo.org>
Mon, 13 Mar 2006 09:57:10 +0000 (09:57 +0000)
committerDuncan Coutts <dcoutts@gentoo.org>
Mon, 13 Mar 2006 09:57:10 +0000 (09:57 +0000)
eclass/haskell-cabal.eclass

index 24ece5339e5fb28633bf9237df710f9a24bca0b2..66c3fbea78d97e0bd81039018d2bd4830a34c8a5 100644 (file)
@@ -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