summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh3
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 9ffd7240ad..e6289b3bcb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -59,6 +59,9 @@ if [ "x$1" = "xc" ]; then
elif [ "x$1" = "xg" ]; then
./configure CFLAGS='-g -Og -ftrapv' --enable-kdbus $args
make clean
+elif [ "x$1" = "xa" ]; then
+ ./configure CFLAGS='-g -O0 -Wsuggest-attribute=pure -Wsuggest-attribute=const -ftrapv' --enable-kdbus $args
+ make clean
else
echo
echo "----------------------------------------------------------------"
diff --git a/configure.ac b/configure.ac
index 86eebce684..efca1a7d3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,8 +127,6 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Winit-self \
-Wdeclaration-after-statement \
-Wfloat-equal \
- -Wsuggest-attribute=pure \
- -Wsuggest-attribute=const \
-Wsuggest-attribute=noreturn \
-Wmissing-prototypes \
-Wstrict-prototypes \