]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Enable extra compile warnings (-Wextra) by default.
authorSteve Dickson <steved@redhat.com>
Mon, 19 Jul 2010 16:05:51 +0000 (12:05 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 9 Aug 2010 13:57:02 +0000 (09:57 -0400)
Added -Wextra to the CFLAGS which enables more checking
during compilation, which in turn, will hopefully flag
potential problems before they occur.

Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac

index d90a88f038b79f1359d7a032d9587417ca687843..7c9e61a45b2ccaae5ffc933a414de642fe8e3239 100644 (file)
@@ -400,7 +400,7 @@ case $host in
     ARCHFLAGS="" ;;
 esac
 
-my_am_cflags="-Wall -Wstrict-prototypes $ARCHFLAGS -pipe"
+my_am_cflags="-Wall -Wextra -Wstrict-prototypes $ARCHFLAGS -pipe"
 
 AC_SUBST([AM_CFLAGS], ["$my_am_cflags"])