From e021b0bbc05e262ec1acda61d12365039c5ce52d Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 13 Oct 2010 21:42:31 +0200 Subject: [PATCH] more heavily optimize ./all compile -r builds --- all | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/all b/all index fea01c2c..df0b06b1 100755 --- a/all +++ b/all @@ -577,6 +577,9 @@ case "$cmd" in cleanqcc=false cleanqc=false debug=debug + if [ -z "$CC" ]; then + export CC="gcc -DSUPPORTIPV6" + fi while :; do case "$1" in -c) @@ -587,6 +590,7 @@ case "$cmd" in ;; -r) debug=release + export CC="$CC -mtune=native -march=native" shift ;; *) @@ -594,9 +598,6 @@ case "$cmd" in ;; esac done - if [ -z "$CC" ]; then - export CC="gcc -DSUPPORTIPV6" - fi if [ -n "$WE_HATE_OUR_USERS" ]; then TARGETS="sv-$debug cl-$debug" elif [ x"`uname`" = x"Darwin" ]; then -- 2.39.2