[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/maint-0.2.2 3/3] Remove redundant -Wpointer-sign CFLAG



Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
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