summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-11-22 20:37:06 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-11-22 20:37:06 +0000
commit6078b0c9d703e2f174bb47cee927ad0aaf4cbe93 (patch)
tree216b057783b62457b4631f955a8efe65de585804 /games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild
parentAdded ~ppc64 to KEYWORDS; bug #72100 (Manifest recommit) (diff)
downloadgentoo-2-6078b0c9d703e2f174bb47cee927ad0aaf4cbe93.tar.gz
gentoo-2-6078b0c9d703e2f174bb47cee927ad0aaf4cbe93.tar.bz2
gentoo-2-6078b0c9d703e2f174bb47cee927ad0aaf4cbe93.zip
Adding a replace-flags for -O3 to -O2 to prevent the OOM killer from killing the compile; bug #64670.
Diffstat (limited to 'games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild')
-rw-r--r--games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild b/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild
index d5746f7452df..bd5eae199df6 100644
--- a/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild
+++ b/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild,v 1.2 2004/09/04 09:37:45 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild,v 1.3 2004/11/22 20:37:06 plasmaroo Exp $
-inherit eutils games
+inherit eutils games flag-o-matic
DESCRIPTION="gameboy, gameboy color, and gameboy advance emulator"
HOMEPAGE="http://vba.ngemu.com/"
@@ -30,6 +30,9 @@ src_unpack() {
}
src_compile() {
+ # -O3 causes GCC to behave badly and hog memory, bug #64670.
+ replace-flags -O3 -O2
+
egamesconf \
--enable-c-core \
$(use_with mmx) \