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
commit3604b770e442654ca6b032777b8b81c492b7ced3 (patch)
treede5b2fd41509b9f8a754d3255c3f9df82f988de1 /sys-libs/db
parenthppa stable, bug #183371 (diff)
downloadgentoo-2-3604b770e442654ca6b032777b8b81c492b7ced3.tar.gz
gentoo-2-3604b770e442654ca6b032777b8b81c492b7ced3.tar.bz2
gentoo-2-3604b770e442654ca6b032777b8b81c492b7ced3.zip
Appending -O2 for people who don't have any optimization turned on, bug #171231
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'sys-libs/db')
-rw-r--r--sys-libs/db/ChangeLog5
-rw-r--r--sys-libs/db/db-4.5.20_p2.ebuild3
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-libs/db/ChangeLog b/sys-libs/db/ChangeLog
index 4269d7db0956..2e908789b8cd 100644
--- a/sys-libs/db/ChangeLog
+++ b/sys-libs/db/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/db
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.215 2007/06/26 18:22:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.216 2007/07/01 12:01:12 angelos Exp $
+
+ 01 Jul 2007; Christoph Mende <angelos@gentoo.org> db-4.5.20_p2.ebuild:
+ Appending -O2 for people who don't have any optimization turned on, bug #171231
26 Jun 2007; Raúl Porcel <armin76@gentoo.org> db-4.5.20_p2.ebuild:
ia64 stable wrt #178750
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=""