diff options
Diffstat (limited to 'extra/libvorbis/PKGBUILD')
-rw-r--r-- | extra/libvorbis/PKGBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/extra/libvorbis/PKGBUILD b/extra/libvorbis/PKGBUILD index 2c7b35a34..0703016db 100644 --- a/extra/libvorbis/PKGBUILD +++ b/extra/libvorbis/PKGBUILD @@ -18,11 +18,8 @@ md5sums=('c870b9bd5858a0ecb5275c14486d9554') build() { cd ${srcdir}/${pkgname}-${pkgver} #-march=i686 optimizes too much, strip it out - if [ "$CARCH" = "mips64el" ]; then - CFLAGS=${CFLAGS/loongson2f/mips3} ./configure --prefix=/usr --disable-static - else - CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --disable-static - fi + [ "$CARCH" = "i686" ] && export CFLAGS=${CFLAGS/-march=$CARCH} + ./configure --prefix=/usr --disable-static make } |