aboutsummaryrefslogtreecommitdiffstats
path: root/main/x264/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/x264/APKBUILD')
-rw-r--r--main/x264/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/x264/APKBUILD b/main/x264/APKBUILD
index d34eea129c..663404e560 100644
--- a/main/x264/APKBUILD
+++ b/main/x264/APKBUILD
@@ -17,11 +17,15 @@ build() {
if [ "$CARCH" = "x86" ]; then
_asmopts="--disable-asm"
fi
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-visualize \
--enable-shared \
$_asmopts \
- --enable-pic || return 1
+ --enable-pic \
+ || return 1
make || return 1
}