aboutsummaryrefslogtreecommitdiffstats
path: root/main/xz/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xz/APKBUILD')
-rw-r--r--main/xz/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/xz/APKBUILD b/main/xz/APKBUILD
index 0d39293fc8..58af03b75b 100644
--- a/main/xz/APKBUILD
+++ b/main/xz/APKBUILD
@@ -15,9 +15,13 @@ _builddir="$srcdir"/$pkgname-$pkgver
build ()
{
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-rpath \
- --disable-werror
+ --disable-werror \
+ || return 1
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make