From 5d83a5ee7fb8afb883ff51a3e75e0e0a5affefd9 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Mon, 16 Nov 2015 14:24:34 +0900 Subject: [PATCH] disable stack protector on Solaris --- libsodium/configure | 2 +- libsodium/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libsodium/configure b/libsodium/configure index 12ae049e..44e3e399 100755 --- a/libsodium/configure +++ b/libsodium/configure @@ -5430,7 +5430,7 @@ if test "x$enable_ssp" != "xno"; then : case $host_os in #( - cygwin*|mingw*|msys|pw32*|cegcc*) : + cygwin*|mingw*|msys|pw32*|cegcc*|*aix*|*sunos*|*solaris*) : ;; #( *) : diff --git a/libsodium/configure.ac b/libsodium/configure.ac index b1c75231..ce11face 100644 --- a/libsodium/configure.ac +++ b/libsodium/configure.ac @@ -188,7 +188,7 @@ AS_CASE([$host_os], AS_IF([test "x$enable_ssp" != "xno"],[ AS_CASE([$host_os], - [cygwin*|mingw*|msys|pw32*|cegcc*], [ ], + [cygwin*|mingw*|msys|pw32*|cegcc*|*aix*|*sunos*|*solaris*], [ ], [*], [ AX_CHECK_COMPILE_FLAG([-fstack-protector], [ AX_CHECK_LINK_FLAG([-fstack-protector],