aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-11-14 10:24:06 +0100
committerThomas Schwinge <tschwinge@gcc.gnu.org>2008-11-14 10:24:06 +0100
commit4cc115a28f75616f7074f1dc95c3cfc81e6162e5 (patch)
tree07f6a8bf2c9f3d32982d68546cba73a7f2394091 /gcc/configure.ac
parent22f96a0fe278fa8d3646024eb6899b9d16d10a2a (diff)
downloadgcc-4cc115a28f75616f7074f1dc95c3cfc81e6162e5.zip
gcc-4cc115a28f75616f7074f1dc95c3cfc81e6162e5.tar.gz
gcc-4cc115a28f75616f7074f1dc95c3cfc81e6162e5.tar.bz2
configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd systems...
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. From-SVN: r141851
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 d420d8c..b9754a2 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"])