diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2015-04-04 20:33:05 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2015-04-04 20:33:05 +0000 |
commit | edc7987f80b5dfa686048d4fd0ede866b0724ed9 (patch) | |
tree | 028ab525b9967aa73144e9f9875e1f2e5c6afe27 /eclass/haskell-cabal.eclass | |
parent | Mark arm64/s390/sh stable. (diff) | |
download | gentoo-2-edc7987f80b5dfa686048d4fd0ede866b0724ed9.tar.gz gentoo-2-edc7987f80b5dfa686048d4fd0ede866b0724ed9.tar.bz2 gentoo-2-edc7987f80b5dfa686048d4fd0ede866b0724ed9.zip |
Disable building dynamic libraris by default before-ghc-7.10 (was accidentally enabled in a previous revision). Fixes bug #545174 by Toralf Förster.
Diffstat (limited to 'eclass/haskell-cabal.eclass')
-rw-r--r-- | eclass/haskell-cabal.eclass | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index daf950215532..7f733725af97 100644 --- a/eclass/haskell-cabal.eclass +++ b/eclass/haskell-cabal.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.50 2015/03/28 13:32:40 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.51 2015/04/04 20:33:05 slyfox Exp $ # @ECLASS: haskell-cabal.eclass # @MAINTAINER: @@ -387,12 +387,11 @@ cabal-configure() { cabalconf+=(--enable-shared) if $(ghc-supports-shared-libraries); then - # maybe a bit lower - cabalconf+=(--enable-shared) - # Experimental support for dynamically linked binaries. # We are enabling it since 7.10.1_rc3 if version_is_at_least "7.10.0.20150316" "$(ghc-version)"; then + # we didn't enable it before as it was not stable on all arches + cabalconf+=(--enable-shared) # Known to break on ghc-7.8/Cabal-1.18 # https://ghc.haskell.org/trac/ghc/ticket/9625 cabalconf+=(--enable-executable-dynamic) |