Use -O0 in debug builds so that variables do not get optimized out.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@347 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
a732d1a62e
commit
a4a7dda7ef
@ -2,6 +2,9 @@
|
||||
Version 1.6.6
|
||||
*******************************************************************************
|
||||
|
||||
2008-04-23 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Use -O0 in debug builds so that variables do not get optimized out.
|
||||
|
||||
2008-04-10 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Apostolos Syropoulos changes for OpenSolaris x86.
|
||||
|
||||
|
@ -299,7 +299,9 @@ freebsd*)
|
||||
echo "Using non-specific system compiler settings"
|
||||
if test x"$enable_debug" = xyes; then
|
||||
# AC_PROG_CC already sets CFLAGS to "-g -O2" by default
|
||||
:
|
||||
#:
|
||||
# Use -O0 in debug so that variables do not get optimized out
|
||||
AX_CFLAGS_GCC_OPTION([-O0])
|
||||
else
|
||||
# add optimise for size
|
||||
AX_CFLAGS_GCC_OPTION([-Os])
|
||||
|
Loading…
x
Reference in New Issue
Block a user