summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-08-13 15:56:20 +0200
committerDaiki Ueno <ueno@gnu.org>2020-08-13 15:56:20 +0200
commit159e94c07a629a96db32af33048f855f97858776 (patch)
treee0ba4685ba2314422c5481abd310b99b347b7f38 /configure.ac
parent606b77a2422c7e4124d80904bd191184323205fc (diff)
downloadgnutls-159e94c07a629a96db32af33048f855f97858776.tar.gz
minitasn1: move WARN_CFLAGS setting to configure.actmp-type-limits
Some compilers don't support -Wno-type-limits, while they support -Wtype-limits. Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a46d85d070..e50e242a73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -522,6 +522,7 @@ if test "$gl_gcc_warnings" = yes; then
nw="$nw -Wstack-protector" # Some functions cannot be protected
nw="$nw -Wunsafe-loop-optimizations" # Warnings with no point
nw="$nw -Wredundant-decls" # Some files cannot be compiled with that (gl_fd_to_handle)
+ nw="$nw -Wtype-limits" # Too many warnings in gnulib macros
gl_MANYWARN_ALL_GCC([ws])
gl_MANYWARN_COMPLEMENT(ws, [$ws], [$nw])