summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2007-07-01 12:01:12 +0000
committerChristoph Mende <angelos@gentoo.org>2007-07-01 12:01:12 +0000
commit5c36192ccac49e0b2d538933755d7f1d722f8b5b (patch)
treef4f38bf9bb8f7bb06cdc29eaf7aa1ddadd397d1a /sys-libs/db/db-4.5.20_p2.ebuild
parenthppa stable, bug #183371 (diff)
downloadhistorical-5c36192ccac49e0b2d538933755d7f1d722f8b5b.tar.gz
historical-5c36192ccac49e0b2d538933755d7f1d722f8b5b.tar.bz2
historical-5c36192ccac49e0b2d538933755d7f1d722f8b5b.zip
Appending -O2 for people who don't have any optimization turned on, bug #171231
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'sys-libs/db/db-4.5.20_p2.ebuild')
-rw-r--r--sys-libs/db/db-4.5.20_p2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-libs/db/db-4.5.20_p2.ebuild b/sys-libs/db/db-4.5.20_p2.ebuild
index 268a228bf9ac..eae7e4623ecc 100644
--- a/sys-libs/db/db-4.5.20_p2.ebuild
+++ b/sys-libs/db/db-4.5.20_p2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.5.20_p2.ebuild,v 1.13 2007/06/26 18:22:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.5.20_p2.ebuild,v 1.14 2007/07/01 12:01:12 angelos Exp $
inherit eutils db flag-o-matic java-pkg-opt-2
@@ -57,6 +57,7 @@ src_compile() {
# compilation with -O0 fails on amd64, see bug #171231
if use amd64; then
replace-flags -O0 -O2
+ is-flag -O[s123] || append-flags -O2
fi
local myconf=""