From 5d6669201b9634bb75bd14d68610a1ae49d29de2 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Mon, 27 May 2013 21:24:13 +0200 Subject: [PATCH] Fixed compile script --- src/build/compile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/build/compile.sh b/src/build/compile.sh index 5000147a72..464bdee75f 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -28,7 +28,7 @@ type wget >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \"wge [ -z "$mcpu" ] && mcpu="native"; [ -z "$CFLAGS" ] && CFLAGS=""; -gcc -O3 -march="$march" -mcpu="$mcpu" -mtune="$mtune" -fno-gcse $CFLAGS -Q --help=target >> "$DIR/install.log" 2>&1 +gcc -O3 -march=$march -mcpu=$mcpu -mtune=$mtune -fno-gcse $CFLAGS -Q --help=target >> "$DIR/install.log" 2>&1 if [ $? -ne 0 ]; then gcc -O3 -fno-gcse $CFLAGS -Q --help=target >> "$DIR/install.log" 2>&1 if [ $? -ne 0 ]; then @@ -37,7 +37,7 @@ if [ $? -ne 0 ]; then export CFLAGS="-O3 -fno-gcse $CFLAGS" fi else - export CFLAGS="-O3 -march=\"$march\" -mcpu=\"$mcpu\" -mtune=\"$mtune\" -fno-gcse $CFLAGS" + export CFLAGS="-O3 -march=$march -mcpu=$mcpu -mtune=$mtune -fno-gcse $CFLAGS" fi