From 7a484c1a7926ba7230bae19d501de7ddd129395c Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Thu, 24 Oct 2013 11:21:13 -0700 Subject: [PATCH] when using --enable-xrdpdebug turn off compiler optimazations --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index e8823350..6c0134e6 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,11 @@ then [AC_MSG_ERROR([please install libjpeg-dev or libjpeg-devel])]) fi +if ! test -z "$enable_xrdpdebug" +then + CFLAGS="-g -O0" +fi + # checking for fuse if ! test -z "$enable_fuse" then