diff --git a/ChangeLog b/ChangeLog index 43dacda54..d55a397bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20111121 + - (dtucker) [configure.ac] Set _FORTIFY_SOURCE. ok djm@ + 20111104 - (dtucker) OpenBSD CVS Sync - djm@cvs.openbsd.org 2011/10/18 05:15:28 diff --git a/configure.ac b/configure.ac index dc53f0398..5aeb7a8f7 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