Unverified Commit dd50d920 authored by YangKeao's avatar YangKeao Committed by GitHub

use `uname -m` instead of `uname -p` (#593)

`uname -p` is unportable on some platforms.
Signed-off-by: 's avatarYang Keao <keao.yang@yahoo.com>
Co-authored-by: 's avatarXinye Tao <xy.tao@outlook.com>
parent 0f288436
......@@ -6,7 +6,7 @@
export UPDATE_BIND=1
if [ "$ARCH" == "" ]; then
ARCH=`uname -p`
ARCH=`uname -m`
fi
cargo build --target ${ARCH}-unknown-linux-gnu
rustfmt librocksdb_sys/bindings/*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment