summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-23 23:29:39 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-23 23:29:39 +0000
commitc5b4d812ba5f288a7494ee1827ecdcc1f62f5ea4 (patch)
tree34fc5695f3c100f6d49b75f09adb3a8e4c34a127 /dev-libs
parentRevision bump to spread eclass changes. (diff)
downloadhistorical-c5b4d812ba5f288a7494ee1827ecdcc1f62f5ea4.tar.gz
historical-c5b4d812ba5f288a7494ee1827ecdcc1f62f5ea4.tar.bz2
historical-c5b4d812ba5f288a7494ee1827ecdcc1f62f5ea4.zip
filter -fprefetch-loop-arrays for gcc-3.2.x too
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openssl/openssl-0.9.7c-r1.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-libs/openssl/openssl-0.9.7c-r1.ebuild b/dev-libs/openssl/openssl-0.9.7c-r1.ebuild
index c55630c7544d..d5bfccf18b4e 100644
--- a/dev-libs/openssl/openssl-0.9.7c-r1.ebuild
+++ b/dev-libs/openssl/openssl-0.9.7c-r1.ebuild
@@ -1,13 +1,9 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7c-r1.ebuild,v 1.8 2003/12/17 04:56:46 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7c-r1.ebuild,v 1.9 2003/12/23 23:29:39 vapier Exp $
inherit eutils flag-o-matic gcc
-if [ "$( gcc-version )" == "3.3" ]; then
- filter-flags "-fprefetch-loop-arrays"
-fi
-
OLD_096_P="${PN}-0.9.6l"
S="${WORKDIR}"
@@ -49,6 +45,9 @@ src_unpack() {
's!CC=ccc!CC=gcc!' config
fi
+ if [ "$(gcc-version)" == "3.3" ] || [ "$(gcc-version)" == "3.2" ] ; then
+ filter-flags -fprefetch-loop-arrays
+ fi
sed -i -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure
# openssl-0.9.6