X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=autogen.sh;h=b6ffee7297fc1e853a3bd3dc0c7ed9d463960170;hb=842ee61c43ad722412f9b5658619b6e81c1fe33c;hp=d35e9459eca651dcff725a118793edc7c850d374;hpb=6133f3432fe86bc140cc9ba74794826f75c915fa;p=elogind.git diff --git a/autogen.sh b/autogen.sh index d35e9459e..b6ffee729 100755 --- a/autogen.sh +++ b/autogen.sh @@ -8,7 +8,7 @@ MYCFLAGS="-g -Wall \ -Wnested-externs -Wpointer-arith \ -Wpointer-arith -Wsign-compare -Wchar-subscripts \ -Wstrict-prototypes -Wshadow \ --Wformat=2 -Wtype-limits" +-Wformat-security -Wtype-limits" case "$CFLAGS" in *-O[0-9]*) @@ -31,5 +31,4 @@ args="--prefix=/usr \ --with-selinux \ --enable-gtk-doc" -export CFLAGS="$CFLAGS $MYCFLAGS" -./configure $args $@ +./configure $args CFLAGS="${CFLAGS} ${MYCFLAGS}" $@