summaryrefslogtreecommitdiffstats
path: root/main/libmpeg2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libmpeg2/APKBUILD')
-rw-r--r--main/libmpeg2/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/libmpeg2/APKBUILD b/main/libmpeg2/APKBUILD
index 3b6750373..f5d4a723f 100644
--- a/main/libmpeg2/APKBUILD
+++ b/main/libmpeg2/APKBUILD
@@ -13,9 +13,13 @@ source="http://$pkgname.sourceforge.net/files/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-shared \
- --disable-static || return 1
+ --disable-static \
+ || return 1
make OPT_CFLAGS="${CFLAGS}" \
MPEG2DEC_CFLAGS="${CFLAGS}" \
LIBMPEG2_CFLAGS="" || return 1