Merge pull request #391 from dmarion/autodetect-platform
build: autodetect platform
This commit is contained in:
commit
372fb6e875
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
CONFIGURE_ARGS="$*"
|
||||
|
||||
# System setup
|
||||
[ -z "$PLATFORM" ] && PLATFORM=linux
|
||||
[ -z "$PLATFORM" ] && PLATFORM=$(uname -s | tr "[:upper:]" "[:lower:]")
|
||||
[ -z "$CPU" ] && CPU=generic
|
||||
[ -z "$ARCH" ] && ARCH=`uname -m`
|
||||
[ -z "$OSENV" ] && OSENV=posix
|
||||
|
|
Loading…
Add table
Reference in a new issue