summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-12-19 18:52:12 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-12-19 18:52:12 +0000
commit9a7fe8b07a8ad4c32a5df9231ee1bd946d70de26 (patch)
tree757350a6830df6a4e1a9b24dba1bd5ac2f0eb9e0 /sci-libs/gsl
parentDelete older ebuilds. (diff)
downloadgentoo-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')
-rw-r--r--sci-libs/gsl/ChangeLog5
-rw-r--r--sci-libs/gsl/gsl-1.14-r1.ebuild12
2 files changed, 13 insertions, 4 deletions
diff --git a/sci-libs/gsl/ChangeLog b/sci-libs/gsl/ChangeLog
index 1ad4e86f0f91..2b188a44170d 100644
--- a/sci-libs/gsl/ChangeLog
+++ b/sci-libs/gsl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/gsl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.77 2010/08/09 09:32:55 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.78 2010/12/19 18:52:12 bicatali Exp $
+
+ 19 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> gsl-1.14-r1.ebuild:
+ Filtered flag -mfpmath=sse,387 for gcc 4.4.x bug #349005
09 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org>
-files/gsl-1.6-deps.diff, -files/gsl-1.12-cblas.patch, gsl-1.13-r1.ebuild,
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