python3: re-enable both debug symbols and optimization

These were apparently accidentally disabled on all non-WNT platforms.
Set the OPT variable from the outside on the platform that needs it.
(regression from ab41efc81ec26fcbd4cdeb9c36fbe8cc274523f)

Change-Id: Ifbf7ec8e0f863cb6368758571496c8b615e3e814
This commit is contained in:
Michael Stahl
2013-04-18 22:24:53 +02:00
parent 0f7754dfa0
commit 38232ea198
2 changed files with 2 additions and 13 deletions

View File

@ -33,15 +33,6 @@ build with GCC on AIX
INSTSONAME="$LDLIBRARY".$SOVERSION
if test "$with_pydebug" != yes
then
@@ -6169,7 +6175,7 @@
# debug builds.
OPT="-g -O0 -Wall $STRICT_PROTO"
else
- OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
+ OPT="$WRAP -O0 -Wall $STRICT_PROTO"
fi
;;
*)
@@ -8301,8 +8307,13 @@
then
case $ac_sys_system/$ac_sys_release in