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

* #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 ...@@ -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" 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"
test "$CFLAGS" = "" && CFLAGS="-O2"
CFLAGS="$CFLAGS -DNDEBUG -g" # no assertions, debug symbols
if test "$CFLAGS" = ""; then
CFLAGS="-O2"
else
CFLAGS="$CFLAGS"
fi
CXXFLAGS="$CFLAGS $CXXFLAGS" CXXFLAGS="$CFLAGS $CXXFLAGS"
ac_ext=c ac_ext=c
......
...@@ -22,11 +22,9 @@ AC_CONFIG_FILES([build.mak ...@@ -22,11 +22,9 @@ AC_CONFIG_FILES([build.mak
dnl dnl
dnl Setup default CFLAGS dnl Setup default CFLAGS
dnl dnl
if test "$CFLAGS" = ""; then test "$CFLAGS" = "" && CFLAGS="-O2"
CFLAGS="-O2"
else CFLAGS="$CFLAGS -DNDEBUG -g" # no assertions, debug symbols
CFLAGS="$CFLAGS"
fi
CXXFLAGS="$CFLAGS $CXXFLAGS" 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