From: law Date: Wed, 27 Jan 2016 16:54:48 +0000 (+0000) Subject: 2016-01-27 Thomas Klausner X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26271dee7d5aff57960b73c78cb3598bdf71aece;p=thirdparty%2Fgcc.git 2016-01-27 Thomas Klausner PR target/68380 * configure.ac: NetBSD provides SSP in its C library. * configure: Updated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232884 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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"]) ;;