]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/68380 (NetBSD has SSP in libc)
authorThomas Klausner <wiz@NetBSD.org>
Wed, 27 Jan 2016 16:54:48 +0000 (16:54 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 27 Jan 2016 16:54:48 +0000 (09:54 -0700)
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

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 9f8869b6f6dec382bd42d47ad15a4bd3a1ea46fc..e5f1701a8e92adcbd3f4c153d6ec9653014220d6 100644 (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
index 8ea4281cce424a774a12208df71fb73803cf3d7f..1c6e3407ce7cad2567b05a848ebd16009adf9919 100755 (executable)
@@ -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
index 6cfb68a8520a0a78f2a22019c76e43a4adb0e9c4..6c1dcd9aedb4e6e9dfee795f1d86be40d8534e22 100644 (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"])
         ;;