1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-15 15:11:12 +02:00

Add WXDEBUG_LEVEL=0 to non-debug builds

This commit is contained in:
Leland Lucius
2015-07-29 14:44:51 -05:00
parent f2d87803d3
commit e869099643
12 changed files with 590 additions and 124 deletions

8
configure vendored
View File

@@ -19245,8 +19245,11 @@ fi
if test x"$debug_preference" = "xyes" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: Adding -g for debugging to CFLAGS and CXXFLAGS ..." >&5
$as_echo "$as_me: Adding -g for debugging to CFLAGS and CXXFLAGS ..." >&6;}
CFLAGS="${CFLAGS} -g "
CXXFLAGS="${CXXFLAGS} -g "
CFLAGS="${CFLAGS} -g -DWXDEBUG_LEVEL=1"
CXXFLAGS="${CXXFLAGS} -g -DWXDEBUG_LEVEL=1"
else
CFLAGS="${CFLAGS} -DWXDEBUG_LEVEL=0"
CXXFLAGS="${CXXFLAGS} -DWXDEBUG_LEVEL=0"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
@@ -19364,6 +19367,7 @@ done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for strict prototypes" >&5
$as_echo_n "checking CFLAGS for strict prototypes... " >&6; }
if ${ac_cv_cflags_strict_prototypes+:} false; then :