diff options
Diffstat (limited to 'testing/rethinkdb')
| -rw-r--r-- | testing/rethinkdb/APKBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/testing/rethinkdb/APKBUILD b/testing/rethinkdb/APKBUILD index bab967d59a..808c68b73f 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 } |
