diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-04-05 05:39:48 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-04-05 05:39:48 +0000 |
commit | ca6d8ee4c60a1cf46dadd59926783974220e4471 (patch) | |
tree | 90bc07b7a9d439f95361572def3a6321c1b789fa /dev-libs/libgcrypt | |
parent | Don't pre-strip files (bug #248715). (diff) | |
download | gentoo-2-ca6d8ee4c60a1cf46dadd59926783974220e4471.tar.gz gentoo-2-ca6d8ee4c60a1cf46dadd59926783974220e4471.tar.bz2 gentoo-2-ca6d8ee4c60a1cf46dadd59926783974220e4471.zip |
Replace -O3 with -O2 on x86 when using GCC 4.1 (bug #263589).
(Portage version: 13289-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libgcrypt')
-rw-r--r-- | dev-libs/libgcrypt/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libgcrypt/libgcrypt-1.4.4.ebuild | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-libs/libgcrypt/ChangeLog b/dev-libs/libgcrypt/ChangeLog index ff85e641f3c4..ce690e3db909 100644 --- a/dev-libs/libgcrypt/ChangeLog +++ b/dev-libs/libgcrypt/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libgcrypt # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.123 2009/03/25 03:35:39 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.124 2009/04/05 05:39:48 arfrever Exp $ + + 05 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + libgcrypt-1.4.4.ebuild: + Replace -O3 with -O2 on x86 when using GCC 4.1 (bug #263589). 25 Mar 2009; Joseph Jezak <josejx@gentoo.org> libgcrypt-1.4.4.ebuild: Marked ppc stable for bug #263319. diff --git a/dev-libs/libgcrypt/libgcrypt-1.4.4.ebuild b/dev-libs/libgcrypt/libgcrypt-1.4.4.ebuild index 9898b2882a3c..ca16aa515db7 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.4.4.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.4.4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.4.ebuild,v 1.8 2009/03/25 03:35:39 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.4.ebuild,v 1.9 2009/04/05 05:39:48 arfrever Exp $ -inherit eutils +inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="general purpose crypto library based on the code used in GnuPG" HOMEPAGE="http://www.gnupg.org/" @@ -17,6 +17,10 @@ IUSE="" RDEPEND=">=dev-libs/libgpg-error-1.5" DEPEND="${RDEPEND}" +pkg_setup() { + [[ $(tc-arch) == x86 && $(gcc-version) == 4.1 ]] && replace-flags -O3 -O2 +} + src_compile() { # --disable-padlock-support for bug #201917 econf \ |