Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Emscripten now builds with assertions enabled in debug builds.
6 changes: 6 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -7521,6 +7521,12 @@ then
case $ac_sys_system in
SCO_SV*) OPT="$OPT -m486 -DSCO5"
;;
Emscripten)
if test "$Py_DEBUG" = 'true' ; then
# Compile with assertions in debug mode
OPT="$OPT -s ASSERTIONS=1"
fi
;;
esac
;;

Expand Down
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1734,6 +1734,12 @@ then
case $ac_sys_system in
SCO_SV*) OPT="$OPT -m486 -DSCO5"
;;
Emscripten)
if test "$Py_DEBUG" = 'true' ; then
# Compile with assertions in debug mode
OPT="$OPT -s ASSERTIONS=1"
fi
;;
esac
;;

Expand Down