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"]) ;;