Commit 3bbdd0f6 authored by Rafaël Carré's avatar Rafaël Carré

* #5884: Disable debug code in pjsip

work around a bug with PJ_DEBUG set / echo canceller / thread code
parent a547f9e5
......@@ -2366,14 +2366,8 @@ ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/in
ac_config_files="$ac_config_files build.mak build/os-auto.mak build/cc-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak"
if test "$CFLAGS" = ""; then
CFLAGS="-O2"
else
CFLAGS="$CFLAGS"
fi
test "$CFLAGS" = "" && CFLAGS="-O2"
CFLAGS="$CFLAGS -DNDEBUG -g" # no assertions, debug symbols
CXXFLAGS="$CFLAGS $CXXFLAGS"
ac_ext=c
......
......@@ -22,11 +22,9 @@ AC_CONFIG_FILES([build.mak
dnl
dnl Setup default CFLAGS
dnl
if test "$CFLAGS" = ""; then
CFLAGS="-O2"
else
CFLAGS="$CFLAGS"
fi
test "$CFLAGS" = "" && CFLAGS="-O2"
CFLAGS="$CFLAGS -DNDEBUG -g" # no assertions, debug symbols
CXXFLAGS="$CFLAGS $CXXFLAGS"
......
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