Kaydet (Commit) e1ceaa00 authored tarafından Fred Drake's avatar Fred Drake

Define NDEBUG when compiling a release build on Unix.

This is the Unix portion of the fix for SF bug #489052.
üst 4ed6be71
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -389,6 +389,12 @@ then ...@@ -389,6 +389,12 @@ then
esac esac
fi fi
if test "$Py_DEBUG" = 'true'; then
:
else
OPT="-DNDEBUG $OPT"
fi
# The current (beta) Monterey compiler dies with optimizations # The current (beta) Monterey compiler dies with optimizations
case $ac_sys_system in case $ac_sys_system in
Monterey*) OPT="";; Monterey*) OPT="";;
......
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