Don't enable the stack protector on unknown operating systems

This commit is contained in:
Frank Denis 2019-03-16 00:21:01 +01:00
parent be509424e9
commit 697a371a42

View File

@ -278,7 +278,7 @@ AS_CASE([$host_os],
AS_IF([test "x$enable_ssp" != "xno"],[
AS_CASE([$host_os],
[cygwin*|mingw*|msys|pw32*|cegcc*|haiku], [ ],
[cygwin*|mingw*|msys|pw32*|cegcc*|haiku|none], [ ],
[*], [
AX_CHECK_COMPILE_FLAG([-fstack-protector], [
AX_CHECK_LINK_FLAG([-fstack-protector],