2015-04-21 19:31:11 +02:00
|
|
|
diff --git a/configure.ac b/configure.ac
|
2015-04-22 20:13:26 +02:00
|
|
|
index 6ce6b6b..72d2e65 100644
|
2015-04-21 19:31:11 +02:00
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2015-04-22 20:13:26 +02:00
|
|
|
@@ -110,14 +110,10 @@ AC_MSG_RESULT([$enable_debug])
|
|
|
|
|
|
|
|
if test "$enable_debug" = "yes"; then
|
|
|
|
AC_DEFINE([DEBUG],[],[Debug Mode])
|
|
|
|
- AM_CFLAGS="$AM_CFLAGS -g -ggdb -Wall -Werror -Wdeclaration-after-statement \
|
|
|
|
- -Wsign-compare -Wc++-compat \
|
|
|
|
- -fno-omit-frame-pointer -O0 -D_REENTRANT -D_GNU_SOURCE"
|
|
|
|
+ AM_CFLAGS="$AM_CFLAGS -g -ggdb -fno-omit-frame-pointer -O0 -D_REENTRANT -D_GNU_SOURCE"
|
2015-04-21 19:31:11 +02:00
|
|
|
else
|
|
|
|
AC_DEFINE([NDEBUG],[],[No-debug Mode])
|
|
|
|
- AM_CFLAGS="$AM_CFLAGS -g -ggdb -Wall -Werror -Wpadded -Wdeclaration-after-statement \
|
2015-04-22 20:13:26 +02:00
|
|
|
- -Wsign-compare -Wc++-compat \
|
2015-04-21 19:31:11 +02:00
|
|
|
- -O3 -D_REENTRANT -D_GNU_SOURCE"
|
|
|
|
+ AM_CFLAGS="$AM_CFLAGS -O3 -D_REENTRANT -D_GNU_SOURCE"
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
|