ruby-changes:65262
From: David <ko1@a...>
Date: Mon, 15 Feb 2021 17:16:40 +0900 (JST)
Subject: [ruby-changes:65262] dfd029c962 (master): supports for stack protection for haiku.
https://git.ruby-lang.org/ruby.git/commit/?id=dfd029c962 From dfd029c9627b96f5bfc7ece2b61d5019131d83b2 Mon Sep 17 00:00:00 2001 From: David Carlier <devnexen@g...> Date: Sun, 14 Feb 2021 16:01:00 +0000 Subject: 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 87a1375..41f2879 100644 --- a/configure.ac +++ b/configure.ac @@ -684,7 +684,7 @@ AS_IF([test "$GCC" = yes], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L684 # -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() https://github.com/ruby/ruby/blob/trunk/configure.ac#L1050 ]) ], [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 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/