1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

deps: detect triplet and arch automatically

This commit is contained in:
Steffen Vogel 2022-03-28 10:41:10 +02:00
parent b8992094e4
commit 5f2f9b4250

View file

@ -3,7 +3,8 @@
set -e
PREFIX=${PREFIX:-/usr/local}
TRIPLET=${TRIPLET:-x86_64-linux-gnu}
TRIPLET=${TRIPLET:-$(gcc -dumpmachine)}
ARCH=${ARCH:-$(uname -m)}
GIT_OPTS+=" --depth=1"
CONFIGURE_OPTS+=" --host=${TRIPLET} --prefix=${PREFIX}"