2016-01-27 Thomas Klausner <wiz@NetBSD.org>
PR target/68380
* configure.ac: NetBSD provides SSP in its C library.
* configure: Updated.
From-SVN: r232884
+2016-01-27 Thomas Klausner <wiz@NetBSD.org>
+
+ PR target/68380
+ * configure.ac: NetBSD provides SSP in its C library.
+ * configure: Updated.
+
2016-01-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/69166
# 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
# 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"])
;;