diff options
author | Daiki Ueno <ueno@gnu.org> | 2020-08-13 15:56:20 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2020-09-03 09:57:13 +0200 |
commit | 055a5e33c7c1157b59396719693127d2a60120a9 (patch) | |
tree | 9652bc9cfeb0ddc80946f7fe20c8b096e82c2159 | |
parent | fd35e0528a64d41f4b94b74e9133d6742349dda3 (diff) | |
download | gnutls-055a5e33c7c1157b59396719693127d2a60120a9.tar.gz |
minitasn1: move WARN_CFLAGS setting to configure.ac
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 25adba492a..df954f0209 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 \ |