summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-02-28 23:20:30 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-02-28 23:20:30 +0000
commit950c345da49834c5d24bd724e4b0182691b62010 (patch)
tree6998308ba470c7586a5f1378c8645ac7e25fc3c3 /dev-java/gnu-classpath
parentAdd new dep for Amarok; bug 168611. Thanks to jmbsvicetto. (diff)
downloadgentoo-2-950c345da49834c5d24bd724e4b0182691b62010.tar.gz
gentoo-2-950c345da49834c5d24bd724e4b0182691b62010.tar.bz2
gentoo-2-950c345da49834c5d24bd724e4b0182691b62010.zip
Change -O3 to -O2 in CFLAGS because gnu-classpath does not compile with -O3 currently. See bug #168800.
(Portage version: 2.1.2-r12)
Diffstat (limited to 'dev-java/gnu-classpath')
-rw-r--r--dev-java/gnu-classpath/ChangeLog7
-rw-r--r--dev-java/gnu-classpath/gnu-classpath-0.93.ebuild8
2 files changed, 12 insertions, 3 deletions
diff --git a/dev-java/gnu-classpath/ChangeLog b/dev-java/gnu-classpath/ChangeLog
index 49677e910cbc..f7f50d361141 100644
--- a/dev-java/gnu-classpath/ChangeLog
+++ b/dev-java/gnu-classpath/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/gnu-classpath
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.68 2007/02/28 13:51:46 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.69 2007/02/28 23:20:30 betelgeuse Exp $
+
+ 28 Feb 2007; Petteri Räty <betelgeuse@gentoo.org>
+ gnu-classpath-0.93.ebuild:
+ Change -O3 to -O2 in CFLAGS because gnu-classpath does not compile with -O3
+ currently. See bug #168800.
*gnu-classpath-0.93 (28 Feb 2007)
diff --git a/dev-java/gnu-classpath/gnu-classpath-0.93.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.93.ebuild
index dc177800549e..466d0b9abaad 100644
--- a/dev-java/gnu-classpath/gnu-classpath-0.93.ebuild
+++ b/dev-java/gnu-classpath/gnu-classpath-0.93.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/gnu-classpath-0.93.ebuild,v 1.1 2007/02/28 13:51:46 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/gnu-classpath-0.93.ebuild,v 1.2 2007/02/28 23:20:30 betelgeuse Exp $
-inherit eutils multilib
+inherit eutils flag-o-matic multilib
MY_P=${P/gnu-/}
DESCRIPTION="Free core class libraries for use with virtual machines and compilers for the Java programming language"
@@ -84,6 +84,10 @@ src_compile() {
# it should set this automatically to file
use gconf || myconf="${myconf} --enable-default-preferences-peer=file"
+ # https://bugs.gentoo.org/show_bug.cgi?id=168800
+ # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31002
+ replace-flags -O3 -O2
+
# don't use econf, because it ends up putting things under /usr, which may
# collide with other slots of classpath
./configure ${compiler} \