Commit b5875b64 authored by Guido van Rossum's avatar Guido van Rossum

Set OPT to -g -O2 (or -O2 when -g not supported) when using gcc.

parent 61c27034
......@@ -98,7 +98,13 @@ fi
AC_SUBST(OPT)
if test -z "$OPT"
then
case $ac_sys_system in
case $GCC in
yes)
case $ac_cv_prog_cc_g in
yes) OPT="-g -O2";;
*) OPT="-O2";;
esac
;;
*) OPT="-O";;
esac
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment