diff options
author | Damien Miller <djm@mindrot.org> | 2008-07-09 21:07:19 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-07-09 21:07:19 +1000 |
commit | 73193b369333e9c2409aeef6caa9f4cefa8118a1 (patch) | |
tree | 6c4d72ac77bf0231da7bd0d92d239a7b05994f03 /configure.ac | |
parent | 7acf550aeb4a0197095282bcbc845ec917599540 (diff) |
- (djm) [configure.ac] Add -Wformat-security to CFLAGS for gcc 3.x and 4.x
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 33e138ab..fcf7e416 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.408 2008/07/04 23:52:03 djm Exp $ +# $Id: configure.ac,v 1.409 2008/07/09 11:07:19 djm Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) -AC_REVISION($Revision: 1.408 $) +AC_REVISION($Revision: 1.409 $) AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_HEADER(config.h) @@ -107,8 +107,8 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then no_attrib_nonnull=1 ;; 2.*) no_attrib_nonnull=1 ;; - 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;; - 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;; + 3.*) CFLAGS="$CFLAGS -Wsign-compare -Wformat-security" ;; + 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign -Wformat-security" ;; *) ;; esac |