From 4aa7b3eaf80def1f65170ad0ddaa04695a3bc2fd Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Mon, 27 Jan 2014 19:28:29 +0100 Subject: [PATCH] Allow custom arch. build on compiler --- src/build/compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/compile.sh b/src/build/compile.sh index 1200ec41e..ec3c4050e 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -77,7 +77,7 @@ elif [ "$1" == "crosscompile" ]; then echo "Please supply a proper platform [android android-armv6 android-armv7 rpi mac] to cross-compile" exit 1 fi -else +elif [ -z "$CFLAGS" ]; then if [ `getconf LONG_BIT` = "64" ]; then echo "[INFO] Compiling for current machine using 64-bit" CFLAGS="-m64 $CFLAGS"