diff --git a/configure.in b/configure.in index 7e72adaa33f9470cf2005689f8c328200d88a3e3..ef358a8085cbb076458862b373af5ba55f4466ff 100644 --- a/configure.in +++ b/configure.in @@ -98,7 +98,7 @@ AC_ARG_ENABLE(gcc-hardening, AS_HELP_STRING(--enable-gcc-hardening, enable compiler security checks), [if test x$enableval = xyes; then CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector-all" - CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector -Wformat -Wformat-security" + CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector" CFLAGS="$CFLAGS -Wpointer-sign --param ssp-buffer-size=1" LDFLAGS="$LDFLAGS -pie" fi])