diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-10-25 08:50:53 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-10-25 09:10:10 -0700 |
commit | 6c318de90c523eabdb4ba54c7b01c34ec59f4cb9 (patch) | |
tree | 4cc001807818a653c0e59df391e56b4d5460deb6 /configure.ac | |
parent | 37f7cd01040216c622fab84d3c6480774280e269 (diff) | |
download | grep-6c318de90c523eabdb4ba54c7b01c34ec59f4cb9.tar.gz |
build: avoid duplicate -funit-at-a-time etc. options
* configure.ac (WERROR_CFLAGS): Don't add -fdiagnostics-show-option
and -funit-at-a-time, as Gnulib does that for us now, and we're
merely piling on duplicats.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index b1393db3..1ebc2536 100644 --- a/configure.ac +++ b/configure.ac @@ -151,9 +151,6 @@ if test "$gl_gcc_warnings" = yes; then # gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c gl_WARN_ADD([-Wno-logical-op]) - gl_WARN_ADD([-fdiagnostics-show-option]) - gl_WARN_ADD([-funit-at-a-time]) - AC_SUBST([WARN_CFLAGS]) AC_DEFINE([lint], [1], [Define to 1 if the compiler is checking for lint.]) |