| # Copyright 1999-2007 Gentoo Foundation |
# Copyright 1999-2008 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
# Distributed under the terms of the GNU General Public License v2 |
| # $Header$ |
# $Header$ |
| |
|
| unpack ${A} |
unpack ${A} |
| cd "${S}" |
cd "${S}" |
| epatch "${WORKDIR}"/gdb-${PV}-uclinux-armulator-${STAMP}.patch |
epatch "${WORKDIR}"/gdb-${PV}-uclinux-armulator-${STAMP}.patch |
| |
epatch "${FILESDIR}"/${P}-objstack.patch #211463 |
| strip-linguas -u bfd/po opcodes/po |
strip-linguas -u bfd/po opcodes/po |
| |
|
| |
# add a wrapper to fake gtk-1 with gtk-2 |
| |
mkdir "${T}"/path |
| |
cp "${FILESDIR}"/gtk-config "${T}"/path/ |
| } |
} |
| |
|
| src_compile() { |
src_compile() { |
| |
export PATH=${T}/path:${PATH} |
| replace-flags -O? -O2 |
replace-flags -O? -O2 |
| econf \ |
econf \ |
| --disable-werror \ |
--disable-werror \ |