From: Jaroslav Kysela Date: Sat, 26 Mar 2016 19:25:09 +0000 (+0100) Subject: configure.inc: shuffle X-Git-Tag: v4.2.1~798 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c2226d0d1c147fd4311327aa27b40280385ce4a;p=thirdparty%2Ftvheadend.git configure.inc: shuffle --- diff --git a/support/configure.inc b/support/configure.inc index 831d45972..6d44997d2 100755 --- a/support/configure.inc +++ b/support/configure.inc @@ -11,6 +11,11 @@ CONFIGURE_ARGS="$*" +# Compiler +[ -z "$CC" ] && CC=cc +[ -z "$CFLAGS" ] && CFLAGS= +[ -z "$LDFLAGS" ] && LDFLAGS= + # System setup [ -z "$PLATFORM" ] && PLATFORM=$(uname -s | tr "[:upper:]" "[:lower:]") [ -z "$CPU" ] && CPU=generic @@ -30,11 +35,6 @@ CONFIGURE_ARGS="$*" [ -z "$datadir" ] && datadir=\${prefix}/share [ -z "$mandir" ] && mandir=\${datadir}/man -# Compiler -[ -z "$CC" ] && CC=cc -[ -z "$CFLAGS" ] && CFLAGS= -[ -z "$LDFLAGS" ] && LDFLAGS= - # Environment [ -z "$ROOTDIR" ] && ROOTDIR=$(cd "$(dirname "$0")"; pwd) [ -z "$BUILDDIR" ] && BUILDDIR=$ROOTDIR/build.$PLATFORM