diff options
author | Darren Tucker <dtucker@zip.com.au> | 2011-11-21 16:38:48 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2011-11-21 16:38:48 +1100 |
commit | 4a725ef6a54d527fa5f2b3ab56dfff67e372ccdd (patch) | |
tree | c5b39606b30de8f93e43f004d73efe8bbe1afbdc /configure.ac | |
parent | aa3cbd1b5bc83a30f7deb960e3e69e56df92bc56 (diff) | |
download | openssh-git-4a725ef6a54d527fa5f2b3ab56dfff67e372ccdd.tar.gz |
- (dtucker) [configure.ac] Set _FORTIFY_SOURCE. ok djm@
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index dc53f039..5aeb7a8f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.484 2011/11/04 00:25:25 dtucker Exp $ +# $Id: configure.ac,v 1.485 2011/11/21 05:38:50 dtucker 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.484 $) +AC_REVISION($Revision: 1.485 $) AC_CONFIG_SRCDIR([ssh.c]) AC_LANG([C]) @@ -134,6 +134,7 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then OSSH_CHECK_CFLAG_COMPILE([-Wpointer-sign], [-Wno-pointer-sign]) OSSH_CHECK_CFLAG_COMPILE([-Wunused-result], [-Wno-unused-result]) OSSH_CHECK_CFLAG_COMPILE([-fno-strict-aliasing]) + OSSH_CHECK_CFLAG_COMPILE([-D_FORTIFY_SOURCE=2]) AC_MSG_CHECKING([gcc version]) GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` case $GCC_VER in |