supports for stack protection for haiku.

This commit is contained in:
David Carlier 2021-02-14 16:01:00 +00:00 committed by Nobuyoshi Nakada
parent 2947ae3254
commit dfd029c962
Notes: git 2021-02-15 17:16:42 +09:00

View File

@ -684,7 +684,7 @@ AS_IF([test "$GCC" = yes], [
# -fstack-protector # -fstack-protector
AS_CASE(["$target_os"], AS_CASE(["$target_os"],
[mingw*|haiku*|emscripten*], [ [mingw*|emscripten*], [
stack_protector=no stack_protector=no
]) ])
AS_IF([test -z "${stack_protector+set}"], [ AS_IF([test -z "${stack_protector+set}"], [
@ -1050,7 +1050,7 @@ main()
]) ])
], ],
[haiku*], [ [haiku*], [
LIBS="$LIBS" # m lib is include in root LIBS="$LIBS -lssp" # m lib is include in root
], ],
[cygwin*|msys*], [ [cygwin*|msys*], [
ac_cv_header_langinfo_h=yes ac_cv_header_langinfo_h=yes