From af0bd313e4edd1c271db8f46784893f1ed3001cb Mon Sep 17 00:00:00 2001 From: Duncan Coutts Date: Mon, 13 Mar 2006 09:57:10 +0000 Subject: [PATCH] Reduce arch-specific conditionals to the minimum necessary (ie only ppc64). --- eclass/haskell-cabal.eclass | 7 +++---- 1 file 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 # Duncan Coutts @@ -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 -- 2.26.2