diff options
author | Daiki Ueno <ueno@gnu.org> | 2020-08-13 15:56:20 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2020-08-13 15:56:20 +0200 |
commit | 159e94c07a629a96db32af33048f855f97858776 (patch) | |
tree | e0ba4685ba2314422c5481abd310b99b347b7f38 | |
parent | 606b77a2422c7e4124d80904bd191184323205fc (diff) | |
download | gnutls-tmp-type-limits.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>
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | lib/minitasn1/Makefile.am | 4 |
2 files changed, 1 insertions, 4 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]) diff --git a/lib/minitasn1/Makefile.am b/lib/minitasn1/Makefile.am index 054de9e3d3..9b6769746d 100644 --- a/lib/minitasn1/Makefile.am +++ b/lib/minitasn1/Makefile.am @@ -27,10 +27,6 @@ AM_CPPFLAGS = -DASN1_BUILDING \ -I$(builddir)/../../gl \ -I$(srcdir)/.. -# Too many warnings from gnulib macros -WARN_CFLAGS += \ - -Wno-type-limits - noinst_LTLIBRARIES = libminitasn1.la libminitasn1_la_SOURCES = libtasn1.h gstr.h int.h parser_aux.h \ |