summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-25 18:34:44 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-25 19:00:38 +0100
commit25ad8664604507aacab593327b8d9d7454f0634d (patch)
tree3b3e9a6e109eda1813529cf81749a5c210c0ceef /autogen.sh
parentc756a6d57cdb678b702c68913dae3e11ff0427ae (diff)
downloadsystemd-25ad8664604507aacab593327b8d9d7454f0634d.tar.gz
build-sys: the pure/const warning options are probably too much as default, but let's make it available via "autogen.sh a"
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 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 "----------------------------------------------------------------"