- (dtucker) [configure.ac] Enable -fno-builtin-memset when using gcc.
This commit is contained in:
parent
8b7ab960df
commit
330c93f68a
|
@ -1,3 +1,6 @@
|
||||||
|
20080615
|
||||||
|
- (dtucker) [configure.ac] Enable -fno-builtin-memset when using gcc.
|
||||||
|
|
||||||
20080614
|
20080614
|
||||||
- (djm) [openbsd-compat/sigact.c] Avoid NULL derefs in ancient sigaction
|
- (djm) [openbsd-compat/sigact.c] Avoid NULL derefs in ancient sigaction
|
||||||
replacement code; patch from ighighi AT gmail.com in bz#1240;
|
replacement code; patch from ighighi AT gmail.com in bz#1240;
|
||||||
|
@ -4369,4 +4372,4 @@
|
||||||
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
||||||
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.5011 2008/06/15 00:55:34 djm Exp $
|
$Id: ChangeLog,v 1.5012 2008/06/15 16:27:48 dtucker Exp $
|
||||||
|
|
16
configure.ac
16
configure.ac
|
@ -1,4 +1,4 @@
|
||||||
# $Id: configure.ac,v 1.405 2008/06/13 23:14:46 dtucker Exp $
|
# $Id: configure.ac,v 1.406 2008/06/15 16:27:48 dtucker Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 1999-2004 Damien Miller
|
# Copyright (c) 1999-2004 Damien Miller
|
||||||
#
|
#
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
|
AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
|
||||||
AC_REVISION($Revision: 1.405 $)
|
AC_REVISION($Revision: 1.406 $)
|
||||||
AC_CONFIG_SRCDIR([ssh.c])
|
AC_CONFIG_SRCDIR([ssh.c])
|
||||||
|
|
||||||
AC_CONFIG_HEADER(config.h)
|
AC_CONFIG_HEADER(config.h)
|
||||||
|
@ -112,6 +112,18 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(if $CC accepts -fno-builtin-memset)
|
||||||
|
saved_CFLAGS="$CFLAGS"
|
||||||
|
CFLAGS="$CFLAGS -fno-builtin-memset"
|
||||||
|
AC_LINK_IFELSE( [AC_LANG_SOURCE([[
|
||||||
|
#include <string.h>
|
||||||
|
int main(void){char b[10]; memset(b, 0, sizeof(b));}
|
||||||
|
]])],
|
||||||
|
[ AC_MSG_RESULT(yes) ],
|
||||||
|
[ AC_MSG_RESULT(no)
|
||||||
|
CFLAGS="$saved_CFLAGS" ]
|
||||||
|
)
|
||||||
|
|
||||||
# -fstack-protector-all doesn't always work for some GCC versions
|
# -fstack-protector-all doesn't always work for some GCC versions
|
||||||
# and/or platforms, so we test if we can. If it's not supported
|
# and/or platforms, so we test if we can. If it's not supported
|
||||||
# on a give platform gcc will emit a warning so we use -Werror.
|
# on a give platform gcc will emit a warning so we use -Werror.
|
||||||
|
|
Loading…
Reference in New Issue