mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
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 a new issue