summaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-14 09:24:06 +0000
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-14 09:24:06 +0000
commit75bfea25594a1afcd79d191d4ba3a4508552520d (patch)
tree07f6a8bf2c9f3d32982d68546cba73a7f2394091 /gcc/configure.ac
parent03c8b9d43e27283649a5396e8e935453f474f015 (diff)
downloadgcc-75bfea25594a1afcd79d191d4ba3a4508552520d.tar.gz
2008-11-14 Thomas Schwinge <tschwinge@gnu.org>
* 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
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac6
1 files changed, 6 insertions, 0 deletions
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
+ # <http://gcc.gnu.org/ml/gcc/2008-10/msg00130.html>) 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"])