finally got libantlr3c working in arm. i needed it so i could build forked-daapd. figured it out using the ubuntu arm build log here
here is my edited PKGBUILD
$this->bbcode_second_pass_code('', '# Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>
# Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
# Contributor: Alexis Robert <alexis.robert@gmail.com>
pkgname=libantlr3c
pkgver=3.2
pkgrel=1
pkgdesc="C runtime for the ANTLR parsing library"
url="http://www.antlr.org/"
arch=("i686" "x86_64" "arm")
license=("BSD")
depends=('bash')
makedepends=()
source=(http://www.antlr.org/download/C/${pkgname}-${pkgver}.tar.gz)
md5sums=('674646e1d1bf5c6015435480cead725a')
options=(!libtool)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
if [ "$CARCH" = "x86_64" ]; then
_cfgopt=--enable-64bit
fi
if [ "$CARCH" = "arm" ]; then
_cfgopt="--build arm-unknown-linux-gnueabi --disable-abiflags --disable-antlrdebug"
fi
./configure --prefix=/usr --sysconfdir=/etc ${_cfgopt} || return 1
make || return 1
make install DESTDIR="${pkgdir}" || return 1
}')