diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-10-14 04:08:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-10-14 04:08:06 +0000 |
commit | cf264f49f879df93238e9c74319f0da5356e5be6 (patch) | |
tree | bb07d9eb5e312d8dd382f143f24d40a24af54573 /dev-libs/openssl | |
parent | Stable on SPARC wrt bug #150988. (diff) | |
download | gentoo-2-cf264f49f879df93238e9c74319f0da5356e5be6.tar.gz gentoo-2-cf264f49f879df93238e9c74319f0da5356e5be6.tar.bz2 gentoo-2-cf264f49f879df93238e9c74319f0da5356e5be6.zip |
touchup previous commit
(Portage version: 2.1.2_pre2-r9)
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r-- | dev-libs/openssl/openssl-0.9.8d.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-libs/openssl/openssl-0.9.8d.ebuild b/dev-libs/openssl/openssl-0.9.8d.ebuild index 71e923065601..d5394282ccfd 100644 --- a/dev-libs/openssl/openssl-0.9.8d.ebuild +++ b/dev-libs/openssl/openssl-0.9.8d.ebuild @@ -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/dev-libs/openssl/openssl-0.9.8d.ebuild,v 1.13 2006/10/14 04:02:27 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8d.ebuild,v 1.14 2006/10/14 04:08:06 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -44,9 +44,11 @@ src_unpack() { && sed -i '/^install:/s:install_docs::' Makefile.org \ || sed -i '/^MANDIR=/s:=.*:=/usr/share/man:' Makefile.org - # Try to derice users - [[ $(gcc-major-version) == "3" ]] \ - && filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops + # Try to derice users and work around broken ass toolchains + if [[ $(gcc-major-version) == "3" ]] ; then + filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops + [[ $(tc-arch) == "ppc64" ]] && replace-flags -O? -O + fi [[ $(tc-arch) == ppc* ]] && append-flags -fno-strict-aliasing append-flags -Wa,--noexecstack @@ -88,8 +90,6 @@ src_compile() { shared threads \ || die "Configure failed" - [[ ${ARCH} == "ppc64" && $(gcc-major-version) == "3" ]] && replace-flags -O? -O - # Clean out hardcoded flags that openssl uses local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \ -e 's:^CFLAG=::' \ |