mirror of https://github.com/python/cpython
Define NDEBUG when compiling a release build on Unix.
This is the Unix portion of the fix for SF bug #489052.
This commit is contained in:
parent
4ed6be7107
commit
e1ceaa00dc
|
@ -389,6 +389,12 @@ then
|
|||
esac
|
||||
fi
|
||||
|
||||
if test "$Py_DEBUG" = 'true'; then
|
||||
:
|
||||
else
|
||||
OPT="-DNDEBUG $OPT"
|
||||
fi
|
||||
|
||||
# The current (beta) Monterey compiler dies with optimizations
|
||||
case $ac_sys_system in
|
||||
Monterey*) OPT="";;
|
||||
|
|
Loading…
Reference in New Issue