let's enable SOME debug info but still use full optimizations (like release build)

This commit is contained in:
Rudolf Polzer 2010-10-14 18:18:34 +02:00
parent e9ad7b8a9f
commit 42f6d696e6

4
all
View File

@ -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."