re PR target/68380 (NetBSD has SSP in libc)

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
This commit is contained in:
Thomas Klausner 2016-01-27 16:54:48 +00:00 committed by Jeff Law
parent 27e23cca33
commit 388dc9e6fd
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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

2
gcc/configure vendored
View File

@ -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

View File

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