From: Rudolf Polzer Date: Wed, 13 Oct 2010 19:42:31 +0000 (+0200) Subject: more heavily optimize ./all compile -r builds X-Git-Tag: xonotic-v0.1.0preview~125^2~19^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e021b0bbc05e262ec1acda61d12365039c5ce52d;p=xonotic%2Fxonotic.git more heavily optimize ./all compile -r builds --- 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