aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-08-12 11:19:32 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-08-12 11:19:32 +0200
commite231a5db51f1b21252b2404d0aa2f243baa87a1a (patch)
tree2050bac9f36314a124ca47e95d6dcb6d025c1b8c /autogen.sh
parentb7ec267e176021803e27941ae8a2860facff692b (diff)
downloadudev-e231a5db51f1b21252b2404d0aa2f243baa87a1a.tar.gz
add some warnings
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 43c763bf..4ec4e055 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -43,6 +43,11 @@ automake --add-missing
if test -z "$@"; then
args="--prefix=/usr --exec-prefix= --sysconfdir=/etc"
+ export CFLAGS="-g -Wall \
+-Wmissing-declarations -Wmissing-prototypes \
+-Wnested-externs -Wpointer-arith \
+-Wpointer-arith -Wsign-compare -Wchar-subscripts \
+-Wstrict-prototypes -Wshadow"
else
args=$@
fi