when using --enable-xrdpdebug turn off compiler optimazations

This commit is contained in:
Jay Sorg 2013-10-24 11:21:13 -07:00
parent a1d7479345
commit 7a484c1a79
1 changed files with 5 additions and 0 deletions

View File

@ -92,6 +92,11 @@ then
[AC_MSG_ERROR([please install libjpeg-dev or libjpeg-devel])]) [AC_MSG_ERROR([please install libjpeg-dev or libjpeg-devel])])
fi fi
if ! test -z "$enable_xrdpdebug"
then
CFLAGS="-g -O0"
fi
# checking for fuse # checking for fuse
if ! test -z "$enable_fuse" if ! test -z "$enable_fuse"
then then