[or-cvs] [tor/release-0.2.2 071/162] Remove redundant -Wpointer-sign CFLAG

arma at torproject.org arma at torproject.org
Mon Dec 20 03:06:33 UTC 2010


Author: Sebastian Hahn <sebastian at torproject.org>
Date: Wed, 20 Oct 2010 13:01:30 +0200
Subject: Remove redundant -Wpointer-sign CFLAG
Commit: 4f0badf974e05360d57926ddbd73677e5d3a5557

-Wpointer-sign is implied with -Wall, which we use when building with
--enable-gcc-warnings.
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index ef358a8..65e82de 100644
--- a/configure.in
+++ b/configure.in
@@ -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])
 
-- 
1.7.1




More information about the tor-commits mailing list