From 75bfea25594a1afcd79d191d4ba3a4508552520d Mon Sep 17 00:00:00 2001 From: tschwinge Date: Fri, 14 Nov 2008 09:24:06 +0000 Subject: [PATCH] 2008-11-14 Thomas Schwinge * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd systems, which are assumend to always provide SSP-support in glibc. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141851 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/configure | 6 ++++++ gcc/configure.ac | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 63de7b1473d..4d33ff35cac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2008-11-14 Thomas Schwinge + * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd + systems, which are assumend to always provide SSP-support in glibc. + * configure: Regenerate. + * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD, GNU/kNetBSD systems in the `*-*-linux*' case. * configure: Regenerate. diff --git a/gcc/configure b/gcc/configure index d38472974e1..2a72a5256cc 100755 --- a/gcc/configure +++ b/gcc/configure @@ -24110,6 +24110,12 @@ else fi fi ;; + *-*-gnu*) + # Avoid complicated tests (see + # ) and for now + # simply assert that glibc does provide this, which is true for all + # realistically usable GNU/Hurd configurations. + gcc_cv_libc_provides_ssp=yes;; *-*-darwin*) echo "$as_me:$LINENO: checking for __stack_chk_fail" >&5 echo $ECHO_N "checking for __stack_chk_fail... $ECHO_C" >&6 diff --git a/gcc/configure.ac b/gcc/configure.ac index d420d8ca699..b9754a29c0c 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3510,6 +3510,12 @@ AC_CACHE_CHECK(__stack_chk_fail in target C library, fi fi ;; + *-*-gnu*) + # Avoid complicated tests (see + # ) and for now + # simply assert that glibc does provide this, which is true for all + # realistically usable GNU/Hurd configurations. + gcc_cv_libc_provides_ssp=yes;; *-*-darwin*) AC_CHECK_FUNC(__stack_chk_fail,[gcc_cv_libc_provides_ssp=yes], [echo "no __stack_chk_fail on this target"]) -- 2.11.0