diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-09-26 12:20:00 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-09-26 12:20:28 -0700 |
commit | 1875453ee6e1021d67c6856c46e7024bcecdbea8 (patch) | |
tree | f40d86a456528b4f90fe8fafd2f8425a7adef4be /configure.ac | |
parent | 59f4ef95f8a9c0583d1560ef447eab9d44e32cd1 (diff) | |
download | diffutils-1875453ee6e1021d67c6856c46e7024bcecdbea8.tar.gz |
build: omit -Wsuggest-attribute=pure for lib
* configure.ac (WARN_CFLAGS): Omit -Wsuggest-attribute=pure
when compiling the lib subdirectory. Reported for Fedora 19
by Eric Blake in <http://bugs.gnu.org/15463>.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 90bebc9..f7efcb1 100644 --- a/configure.ac +++ b/configure.ac @@ -123,6 +123,7 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Wunused-macros" nw="$nw -Wmissing-prototypes" nw="$nw -Wold-style-definition" + nw="$nw -Wsuggest-attribute=pure" gl_MANYWARN_COMPLEMENT([GNULIB_WARN_CFLAGS], [$WARN_CFLAGS], [$nw]) AC_SUBST([GNULIB_WARN_CFLAGS]) fi |