summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2007-06-03 23:20:21 +0000
committerChristoph Mende <angelos@gentoo.org>2007-06-03 23:20:21 +0000
commit5fe6b47c8c72ef2f2530cb0fc0fed0742f425a8d (patch)
treea07f7d4f29681ab72f9912d36c979bd05accf875 /sys-libs
parentMarked unstable on mips. (diff)
downloadgentoo-2-5fe6b47c8c72ef2f2530cb0fc0fed0742f425a8d.tar.gz
gentoo-2-5fe6b47c8c72ef2f2530cb0fc0fed0742f425a8d.tar.bz2
gentoo-2-5fe6b47c8c72ef2f2530cb0fc0fed0742f425a8d.zip
Replacing -O0 with -O2 on amd64, bug 171231
(Portage version: 2.1.2.9)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/db/ChangeLog5
-rw-r--r--sys-libs/db/db-4.5.20_p2.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-libs/db/ChangeLog b/sys-libs/db/ChangeLog
index 4281ea9a8949..a0dbdde71070 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.208 2007/05/29 01:08:54 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.209 2007/06/03 23:20:21 angelos Exp $
+
+ 03 Jun 2007; Christoph Mende <angelos@gentoo.org> db-4.5.20_p2.ebuild:
+ Replacing -O0 with -O2 on amd64, bug 171231
29 May 2007; Jeroen Roovers <jer@gentoo.org> db-4.3.29-r2.ebuild:
Trivial whitespace fix.
diff --git a/sys-libs/db/db-4.5.20_p2.ebuild b/sys-libs/db/db-4.5.20_p2.ebuild
index 0e004b24f04d..7b12f7a003ea 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.5 2007/03/25 20:58:24 pauldv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.5.20_p2.ebuild,v 1.6 2007/06/03 23:20:21 angelos Exp $
inherit eutils db flag-o-matic java-pkg-opt-2
@@ -54,6 +54,11 @@ src_unpack() {
}
src_compile() {
+ # compilation with -O0 fails on amd64, see bug #171231
+ if use amd64; then
+ replace-flags -O0 -O2
+ fi
+
local myconf=""
use amd64 && myconf="${myconf} --with-mutex=x86/gcc-assembly"