diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-10-20 12:47:09 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-10-20 13:13:50 +0200 |
commit | 12d675a8dd9e1288c60db2107be269022c2ae4d4 (patch) | |
tree | 04632360d819645aa8d0383fce8efd6c1deaf485 | |
parent | cee4dc61015d31d27ca25ccb2a7226493f486cd5 (diff) | |
download | tor-12d675a8dd9e1288c60db2107be269022c2ae4d4.tar.gz tor-12d675a8dd9e1288c60db2107be269022c2ae4d4.zip |
Remove redundant -Wformat -Wformat-security CFLAGS
When configuring with --enable-gcc-warnings, we use -Wformat=2 which
automatically enables the available -Wformat switches, so adding them
again in the --enable-gcc-hardening case doesn't make sense..
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 7e72adaa33..ef358a8085 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]) |