[前][次][番号順一覧][スレッド一覧]

ruby-changes:59050

From: Nobuyoshi <ko1@a...>
Date: Tue, 3 Dec 2019 14:52:27 +0900 (JST)
Subject: [ruby-changes:59050] e42d9d8df8 (master): Fixed the inverted condition

https://git.ruby-lang.org/ruby.git/commit/?id=e42d9d8df8

From e42d9d8df87f58b9bfa65647249822df25851375 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 3 Dec 2019 14:51:14 +0900
Subject: Fixed the inverted condition


diff --git a/configure.ac b/configure.ac
index 6c8311d..6cea43d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -579,7 +579,7 @@ AS_IF([test "$GCC" = yes], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L579
 		  AS_HELP_STRING([--disable-fortify-source],
 				 [disable -D_FORTIFY_SOURCE=2 option, which causes link error on mingw]),
 		  [fortify_source=$enableval])
-    AS_IF([test "x$fortify_source" = xno], [
+    AS_IF([test "x$fortify_source" != xno], [
     RUBY_TRY_CFLAGS(-D_FORTIFY_SOURCE=2, [RUBY_APPEND_OPTION(XCFLAGS, -D_FORTIFY_SOURCE=2)])
     ])
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]