]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
configure.ac: Remove --param=ssp-buffer-size=1.
authorSimon Ruderich <simon@ruderich.org>
Tue, 15 Jan 2013 19:56:34 +0000 (20:56 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 15 Jan 2013 19:56:34 +0000 (20:56 +0100)
-fstack-protector-all already protects all functions.

configure.ac

index e2f54801c5cd1efa769e038dd1edc30a1e4a8bc4..3da89e81f4525dc9107a3115a7828923b5f07e03 100644 (file)
@@ -29,7 +29,7 @@ if test "x$GCC" = xyes; then
     CFLAGS="-Wno-error=int-to-pointer-cast $CFLAGS"
     CPPFLAGS="-D_XOPEN_SOURCE=500 $CPPFLAGS"
     # Additional hardening flags.
-    CFLAGS="-fPIE -fstack-protector-all --param=ssp-buffer-size=1 -Wformat -Werror=format-security $CFLAGS"
+    CFLAGS="-fPIE -fstack-protector-all -Wformat -Werror=format-security $CFLAGS"
     CPPFLAGS="-D_FORTIFY_SOURCE=2 $CPPFLAGS"
     LDFLAGS="-fPIE -pie -Wl,-z,relro -Wl,-z,now $LDFLAGS"
 fi