build: Build with no optimizations in debug mode
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Fri, 23 Oct 2009 15:59:25 +0000 (18:59 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Fri, 23 Oct 2009 15:59:25 +0000 (18:59 +0300)
configure.ac

index 3ccfa6a..0276dd6 100644 (file)
@@ -110,7 +110,7 @@ AC_ARG_ENABLE(debug,
        [  --enable-debug          enable debugging],,
         enable_debug=no)
 if test "x$enable_debug" = "xyes"; then
-        CFLAGS="$CFLAGS -g"
+        CFLAGS="$CFLAGS -O0 -g"
 fi
 
 # Strict compiler