]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove redundant -Wpointer-sign CFLAG
authorSebastian Hahn <sebastian@torproject.org>
Wed, 20 Oct 2010 11:01:30 +0000 (13:01 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Wed, 20 Oct 2010 11:13:50 +0000 (13:13 +0200)
-Wpointer-sign is implied with -Wall, which we use when building with
--enable-gcc-warnings.

configure.in

index ef358a8085cbb076458862b373af5ba55f4466ff..65e82de7ccb5715ec49f0a2071a79d3dc02e48bd 100644 (file)
@@ -99,7 +99,7 @@ AC_ARG_ENABLE(gcc-hardening,
 [if test x$enableval = xyes; then
     CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector-all"
     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"
 fi])