From a89cdde4c815684b9a39ffac745f093a31df4dea Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 9 Aug 2008 05:26:46 +0200 Subject: [PATCH] Don't optimize when debug is enabled --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 64196c9..6508cd4 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [enable compiling with debugging information]), [ if (test "${enableval}" = "yes" && test "${ac_cv_prog_cc_g}" = "yes"); then - CFLAGS="$CFLAGS -g" + CFLAGS="$CFLAGS -g -O0" fi ]) -- 2.7.4