Remove redundant -Wpointer-sign CFLAG

-Wpointer-sign is implied with -Wall, which we use when building with
--enable-gcc-warnings.
This commit is contained in:
Sebastian Hahn 2010-10-20 13:01:30 +02:00
parent 12d675a8dd
commit 4f0badf974

View File

@ -99,7 +99,7 @@ AC_ARG_ENABLE(gcc-hardening,
[if test x$enableval = xyes; then [if test x$enableval = xyes; then
CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector-all" CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector-all"
CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector" CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector"
CFLAGS="$CFLAGS -Wpointer-sign --param ssp-buffer-size=1" CFLAGS="$CFLAGS --param ssp-buffer-size=1"
LDFLAGS="$LDFLAGS -pie" LDFLAGS="$LDFLAGS -pie"
fi]) fi])