From 192b0db66f663969e8a1d44b6b957857504f9427 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sat, 4 Jul 2015 18:02:41 +0000 Subject: [PATCH] testing/rethinkdb: check for arch --- testing/rethinkdb/APKBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/testing/rethinkdb/APKBUILD b/testing/rethinkdb/APKBUILD index bab967d59a2..808c68b73fc 100644 --- a/testing/rethinkdb/APKBUILD +++ b/testing/rethinkdb/APKBUILD @@ -41,9 +41,16 @@ build() { --dynamic all \ --with-system-malloc \ || return 1 + + local _arch + case $CARCH in + x86) _arch=ia32 ;; + x86_64) _arch=x64 ;; + esac + export LDFLAGS="$LDFLAGS -lexecinfo" make || paxmark -m \ - build/external/v8_3.30.33.16/build/out/x64.release/mksnapshot + build/external/v8_3.30.33.16/build/out/${_arch}.release/mksnapshot make || return 1 }