diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-12-19 18:52:12 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-12-19 18:52:12 +0000 |
commit | 9a7fe8b07a8ad4c32a5df9231ee1bd946d70de26 (patch) | |
tree | 757350a6830df6a4e1a9b24dba1bd5ac2f0eb9e0 /sci-libs/gsl/gsl-1.14-r1.ebuild | |
parent | Delete older ebuilds. (diff) | |
download | gentoo-2-9a7fe8b07a8ad4c32a5df9231ee1bd946d70de26.tar.gz gentoo-2-9a7fe8b07a8ad4c32a5df9231ee1bd946d70de26.tar.bz2 gentoo-2-9a7fe8b07a8ad4c32a5df9231ee1bd946d70de26.zip |
Filtered flag -mfpmath=sse,387 for gcc 4.4.x bug #349005
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/gsl/gsl-1.14-r1.ebuild')
-rw-r--r-- | sci-libs/gsl/gsl-1.14-r1.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sci-libs/gsl/gsl-1.14-r1.ebuild b/sci-libs/gsl/gsl-1.14-r1.ebuild index 783bd0a496da..9217793a5ead 100644 --- a/sci-libs/gsl/gsl-1.14-r1.ebuild +++ b/sci-libs/gsl/gsl-1.14-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v 1.3 2010/08/09 09:32:55 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v 1.4 2010/12/19 18:52:12 bicatali Exp $ EAPI="3" -inherit eutils flag-o-matic autotools +inherit eutils flag-o-matic autotools toolchain-funcs DESCRIPTION="The GNU Scientific Library" HOMEPAGE="http://www.gnu.org/software/gsl/" @@ -30,10 +30,16 @@ pkg_setup() { ewarn "Please install and/or eselect another cblas" die "Circular gsl dependency" fi + + # bug 349005 + [[ $(tc-getCC)$ == *gcc* ]] && \ + [[ $(tc-getCC)$ != *apple* ]] && \ + [[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \ + && filter-flags -mfpmath=sse,387 + filter-flags -ffast-math } src_prepare() { - filter-flags -ffast-math epatch "${FILESDIR}"/${P}-cblas.patch eautoreconf |