build: avoid build warn/failure due to -Wstack-protector
authorJim Meyering <meyering@redhat.com>
Thu, 9 Jul 2009 13:20:15 +0000 (15:20 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 9 Jul 2009 13:21:53 +0000 (15:21 +0200)
* configure.ac: Do not enable -Wstack-protector.
Otherwise, at least df.c would provoke a warning.

configure.ac

index 32d2958..4cb9d29 100644 (file)
@@ -82,6 +82,7 @@ if test "$gl_gcc_warnings" = yes; then
   nw="$nw -Wnested-externs"         # use of XARGMATCH/verify_function__
   nw="$nw -Wswitch-enum"            # Too many warnings for now
   nw="$nw -Wswitch-default"         # Too many warnings for now
+  nw="$nw -Wstack-protector"        # not worth working around
   # things I might fix soon:
   nw="$nw -Wfloat-equal"            # sort.c, seq.c
   nw="$nw -Wmissing-format-attribute" # copy.c