From dfd029c9627b96f5bfc7ece2b61d5019131d83b2 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 14 Feb 2021 16:01:00 +0000 Subject: [PATCH] supports for stack protection for haiku. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 87a13758f2..41f2879645 100644 --- a/configure.ac +++ b/configure.ac @@ -684,7 +684,7 @@ AS_IF([test "$GCC" = yes], [ # -fstack-protector AS_CASE(["$target_os"], - [mingw*|haiku*|emscripten*], [ + [mingw*|emscripten*], [ stack_protector=no ]) AS_IF([test -z "${stack_protector+set}"], [ @@ -1050,7 +1050,7 @@ main() ]) ], [haiku*], [ - LIBS="$LIBS" # m lib is include in root + LIBS="$LIBS -lssp" # m lib is include in root ], [cygwin*|msys*], [ ac_cv_header_langinfo_h=yes