summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-11-10 10:51:01 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-11-10 21:01:00 +0000
commitea01f7681901e3181204d3117fc0a23655de631f (patch)
treeb61288276b5f5ea21dcb02dd2fd81a94245507c7
parenta72563464f53f24246379afcf1365206fae9aad3 (diff)
configure: Force full-debug builds to disable compiler optimisations
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 102a25a4..fccab56a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,6 +235,7 @@ if test "x$DEBUG" != xno; then
fi
if test "x$DEBUG" = xfull; then
AC_DEFINE(HAS_DEBUG_FULL,1,[Enable all debugging])
+ CFLAGS="$CFLAGS -O0 -ggdb3"
fi
AC_CHECK_HEADERS([sys/timerfd.h])