aboutsummaryrefslogtreecommitdiffstats
path: root/main/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'main/valgrind')
-rw-r--r--main/valgrind/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/main/valgrind/APKBUILD b/main/valgrind/APKBUILD
index a04b508380..beebe55850 100644
--- a/main/valgrind/APKBUILD
+++ b/main/valgrind/APKBUILD
@@ -36,9 +36,13 @@ build() {
# fails to build with ccache
export CC="gcc"
export CFLAGS="$CFLAGS -fno-stack-protector -fno-pie"
- ./configure --prefix=/usr \
- --without-mpicc \
- --mandir=/usr/share/man || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --without-mpicc \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}