summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2006-06-20 22:12:50 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2006-06-20 22:12:50 +0000
commit2ee38616da370cb990ff6629be135d57b39efc11 (patch)
tree7735ee3b828a9f316a05eb0dc1655a589539d0fd /games-emulation/nestra
parentRevision bump to use genpatches-2.6.16-12. (diff)
downloadgentoo-2-2ee38616da370cb990ff6629be135d57b39efc11.tar.gz
gentoo-2-2ee38616da370cb990ff6629be135d57b39efc11.tar.bz2
gentoo-2-2ee38616da370cb990ff6629be135d57b39efc11.zip
Fixed compilation on amd64.
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'games-emulation/nestra')
-rw-r--r--games-emulation/nestra/nestra-0.66-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games-emulation/nestra/nestra-0.66-r1.ebuild b/games-emulation/nestra/nestra-0.66-r1.ebuild
index 89b679b5b989..b22cbccafe1c 100644
--- a/games-emulation/nestra/nestra-0.66-r1.ebuild
+++ b/games-emulation/nestra/nestra-0.66-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestra/nestra-0.66-r1.ebuild,v 1.14 2006/06/20 19:16:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestra/nestra-0.66-r1.ebuild,v 1.15 2006/06/20 22:12:50 eradicator Exp $
inherit eutils toolchain-funcs flag-o-matic multilib games
@@ -26,6 +26,7 @@ src_unpack() {
cd "${S}"
epatch "${WORKDIR}"/${PATCH} "${FILESDIR}"/${P}-exec-stack.patch
append-ldflags -Wl,-z,noexecstack
+ use amd64 && multilib_toolchain_setup x86
sed -i \
-e "s:-L/usr/X11R6/lib:${LDFLAGS}:" \
-e 's:-O2 ::' \