The default CFLAGS are '-g -O2', so providing these options is either redundant or conflicting. The user can specify their own CFLAGS to override the defaults, so the configure script should not be setting these itself. See the documentation for the AC_PROG_CC macro in the autoconf manual for more information about these defaults.
Signed-off-by: Zachary T Welch <[email protected]> --- configure.ac | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index bd16d80..d69f484 100644 --- a/configure.ac +++ b/configure.ac @@ -197,10 +197,7 @@ AC_ARG_ENABLE(debug, [CONFIG_DEBUG=no]) AC_MSG_RESULT([${CONFIG_DEBUG}]) if test "${CONFIG_DEBUG}" = "yes"; then - CFLAGS="${CFLAGS} -g -O1" AC_DEFINE(DEBUG, 1, [debugging]) -else - CFLAGS="${CFLAGS} -O2" fi # Ignore the compiler's warnings at your own risk. -- 1.7.2.2 _______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/ltrace-devel
