projects
/
nfs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12af21a
)
Enable extra compile warnings (-Wextra) by default.
author
Steve Dickson
<steved@redhat.com>
Mon, 19 Jul 2010 16:05:51 +0000
(12:05 -0400)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index d90a88f038b79f1359d7a032d9587417ca687843..7c9e61a45b2ccaae5ffc933a414de642fe8e3239 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-400,7
+400,7
@@
case $host in
ARCHFLAGS="" ;;
esac
-my_am_cflags="-Wall -Wstrict-prototypes $ARCHFLAGS -pipe"
+my_am_cflags="-Wall -W
extra -W
strict-prototypes $ARCHFLAGS -pipe"
AC_SUBST([AM_CFLAGS], ["$my_am_cflags"])