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 b5975f97e4
commit 5880ea6c97
+1 -1
View File
@@ -272,7 +272,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],