- (dtucker) [configure.ac] Set _FORTIFY_SOURCE. ok djm@

This commit is contained in:
Darren Tucker 2011-11-21 16:38:48 +11:00
parent aa3cbd1b5b
commit 4a725ef6a5
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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