add -Wformat-security to 'make distcheck'

git-svn: trunk@4586
0.95
Török Edvin 17 years ago
parent 3b2ae9260c
commit 62f3e4e421
  1. 5
      ChangeLog
  2. 2
      Makefile.am
  3. 3
      Makefile.in

@ -1,3 +1,8 @@
Thu Jan 1 22:56:40 EET 2009 (edwin)
------------------------------------
* Makefile.am, Makefile.in: add -Wformat-security to 'make
distcheck'
Thu Jan 1 21:17:47 CET 2009 (acab)
-----------------------------------
* libclamav/disasm.c: table fixup

@ -30,7 +30,7 @@ pkgconfig_DATA = libclamav.pc
distuninstallcheck_listfiles = find . -type f ! -name clamd.conf ! -name freshclam.conf ! -name daily.cvd ! -name main.cvd -print
DISTCLEANFILES = target.h
if DISTCHECK_ENABLE_FLAGS
DISTCHECK_CONFIGURE_FLAGS=--enable-milter --disable-clamav CFLAGS="-Wno-pointer-sign -Werror-implicit-function-declaration -Werror -Wextra -Wall -Wbad-function-cast -Wcast-align -Wendif-labels -Wfloat-equal -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wno-error=missing-prototypes -Wnested-externs -Wno-error=nested-externs -Wpointer-arith -Wstrict-prototypes -Wno-error=strict-prototypes -Wno-switch -Wno-switch-enum -Wundef -Wwrite-strings -Wstrict-overflow=1 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wdeclaration-after-statement -Waggregate-return -Wmissing-format-attribute -Wno-error=missing-format-attribute -Wno-error=type-limits -Wno-error=unused-value -Wno-error=unused-variable -Wcast-qual -Wno-error=cast-qual -Wno-error=sign-compare -Wshadow -Wno-error=shadow -Wno-error=uninitialized -fdiagnostics-show-option -Wno-unused-parameter -Wno-error=unreachable-code -Winvalid-pch -Wno-error=invalid-pch -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector -Wno-error=aggregate-return"
DISTCHECK_CONFIGURE_FLAGS=--enable-milter --disable-clamav CFLAGS="-Wno-pointer-sign -Werror-implicit-function-declaration -Werror -Wextra -Wall -Wbad-function-cast -Wcast-align -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wno-error=missing-prototypes -Wnested-externs -Wno-error=nested-externs -Wpointer-arith -Wstrict-prototypes -Wno-error=strict-prototypes -Wno-switch -Wno-switch-enum -Wundef -Wwrite-strings -Wstrict-overflow=1 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wdeclaration-after-statement -Waggregate-return -Wmissing-format-attribute -Wno-error=missing-format-attribute -Wno-error=type-limits -Wno-error=unused-value -Wno-error=unused-variable -Wcast-qual -Wno-error=cast-qual -Wno-error=sign-compare -Wshadow -Wno-error=shadow -Wno-error=uninitialized -fdiagnostics-show-option -Wno-unused-parameter -Wno-error=unreachable-code -Winvalid-pch -Wno-error=invalid-pch -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector -Wno-error=aggregate-return"
else
DISTCHECK_CONFIGURE_FLAGS=--enable-milter --disable-clamav
endif

@ -298,7 +298,8 @@ DISTCLEANFILES = target.h
@DISTCHECK_ENABLE_FLAGS_TRUE@ -Werror -Wextra -Wall \
@DISTCHECK_ENABLE_FLAGS_TRUE@ -Wbad-function-cast -Wcast-align \
@DISTCHECK_ENABLE_FLAGS_TRUE@ -Wendif-labels -Wfloat-equal \
@DISTCHECK_ENABLE_FLAGS_TRUE@ -Wformat=2 -Wmissing-declarations \
@DISTCHECK_ENABLE_FLAGS_TRUE@ -Wformat=2 -Wformat-security \
@DISTCHECK_ENABLE_FLAGS_TRUE@ -Wmissing-declarations \
@DISTCHECK_ENABLE_FLAGS_TRUE@ -Wmissing-prototypes \
@DISTCHECK_ENABLE_FLAGS_TRUE@ -Wno-error=missing-prototypes \
@DISTCHECK_ENABLE_FLAGS_TRUE@ -Wnested-externs \

Loading…
Cancel
Save