aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpthread-stubs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libpthread-stubs/APKBUILD')
-rw-r--r--main/libpthread-stubs/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/libpthread-stubs/APKBUILD b/main/libpthread-stubs/APKBUILD
index 9f9347e000..30a2d9159c 100644
--- a/main/libpthread-stubs/APKBUILD
+++ b/main/libpthread-stubs/APKBUILD
@@ -11,7 +11,11 @@ source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
# we actually have pthread_exit, the configure script just
# fails to detect it
make CFLAGS="$CFLAGS -DHAVE_PTHREAD_EXIT=1"