mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-24 10:52:25 +01:00
testing/rethinkdb: check for arch
This commit is contained in:
parent
fd734b5b45
commit
192b0db66f
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user