Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 64646
Collapse All | Expand All

(-)crypto++-5.2.ebuild.orig (-1 / +7 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.2.ebuild,v 1.3 2004/08/03 01:54:15 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.2.ebuild,v 1.3 2004/08/03 01:54:15 vapier Exp $
4
4
5
inherit flag-o-matic eutils
5
inherit flag-o-matic eutils gcc
6
6
7
DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes"
7
DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes"
8
HOMEPAGE="http://cryptopp.com"
8
HOMEPAGE="http://cryptopp.com"
Lines 19-24 Link Here
19
	# -O3 causes segfaults
19
	# -O3 causes segfaults
20
	replace-flags -O3 -O2
20
	replace-flags -O3 -O2
21
21
22
	#GCC 3.4 still has sse2 problems: bug #64646
23
	if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
24
	then
25
		replace-flags "-march=pentium4" "-mtune=pentium4"
26
	fi
27
22
	emake -f GNUmakefile CXXFLAGS="${CXXFLAGS}" || die
28
	emake -f GNUmakefile CXXFLAGS="${CXXFLAGS}" || die
23
	if ! ./cryptest.exe v
29
	if ! ./cryptest.exe v
24
	then
30
	then

Return to bug 64646