From 374489856c220fb3e00ebba415545cd1c6d7c1d9 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Fri, 16 May 2014 22:37:39 +0200 Subject: [PATCH] build: autodetect platform --- support/configure.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/configure.inc b/support/configure.inc index 8e75275b5..8ddae9820 100755 --- a/support/configure.inc +++ b/support/configure.inc @@ -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 -- 2.47.2