From: Thomas Klausner Date: Wed, 27 Jan 2016 16:54:48 +0000 (+0000) Subject: re PR target/68380 (NetBSD has SSP in libc) X-Git-Tag: basepoints/gcc-7~1283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=388dc9e6fd9dd096a4436b06ffbef0b93d5b4662;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f8869b6f6de..e5f1701a8e92 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 8ea4281cce42..1c6e3407ce7c 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 6cfb68a8520a..6c1dcd9aedb4 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"]) ;;