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:
parent
b8992094e4
commit
5f2f9b4250
1 changed files with 2 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Reference in a new issue