From: Rudolf Polzer Date: Thu, 14 Oct 2010 16:18:34 +0000 (+0200) Subject: let's enable SOME debug info but still use full optimizations (like release build) X-Git-Tag: xonotic-v0.1.0preview~125^2~17^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=42f6d696e69fd59d011613e345f70a2db5dc3453;p=xonotic%2Fxonotic.git let's enable SOME debug info but still use full optimizations (like release build) --- diff --git a/all b/all index e6002823..42d17a6b 100755 --- a/all +++ b/all @@ -590,7 +590,7 @@ case "$cmd" in ;; -r) debug=release - export CC="$CC -mtune=native -march=native" + export CC="$CC -g -mtune=native -march=native" shift ;; *) @@ -678,7 +678,7 @@ case "$cmd" in verbose make $MAKEFLAGS clean fi for T in $TARGETS; do - verbose make $MAKEFLAGS "$@" "$T" + verbose make $MAKEFLAGS STRIP=: "$@" "$T" done for T in $BAD_TARGETS; do echo "Warning: discarded invalid client $T."