From 388dc9e6fd9dd096a4436b06ffbef0b93d5b4662 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Wed, 27 Jan 2016 16:54:48 +0000 Subject: [PATCH] re PR target/68380 (NetBSD has SSP in libc) 2016-01-27 Thomas Klausner PR target/68380 * configure.ac: NetBSD provides SSP in its C library. * configure: Updated. From-SVN: r232884 --- gcc/ChangeLog | 6 ++++++ gcc/configure | 2 +- gcc/configure.ac | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f8869b6f6d..e5f1701a8e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-01-27 Thomas Klausner + + PR target/68380 + * configure.ac: NetBSD provides SSP in its C library. + * configure: Updated. + 2016-01-27 Richard Biener PR tree-optimization/69166 diff --git a/gcc/configure b/gcc/configure index 8ea4281cce4..1c6e3407ce7 100755 --- a/gcc/configure +++ b/gcc/configure @@ -28483,7 +28483,7 @@ fi # realistically usable GNU/Hurd configurations. # All supported versions of musl provide it as well gcc_cv_libc_provides_ssp=yes;; - *-*-darwin* | *-*-freebsd*) + *-*-darwin* | *-*-freebsd* | *-*-netbsd*) ac_fn_cxx_check_func "$LINENO" "__stack_chk_fail" "ac_cv_func___stack_chk_fail" if test "x$ac_cv_func___stack_chk_fail" = x""yes; then : gcc_cv_libc_provides_ssp=yes diff --git a/gcc/configure.ac b/gcc/configure.ac index 6cfb68a8520..6c1dcd9aedb 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -5489,7 +5489,7 @@ AC_CACHE_CHECK(__stack_chk_fail in target C library, # realistically usable GNU/Hurd configurations. # All supported versions of musl provide it as well gcc_cv_libc_provides_ssp=yes;; - *-*-darwin* | *-*-freebsd*) + *-*-darwin* | *-*-freebsd* | *-*-netbsd*) AC_CHECK_FUNC(__stack_chk_fail,[gcc_cv_libc_provides_ssp=yes], [echo "no __stack_chk_fail on this target"]) ;;