ruby-changes:71562
From: Nobuyoshi <ko1@a...>
Date: Wed, 30 Mar 2022 23:08:26 +0900 (JST)
Subject: [ruby-changes:71562] 75efbb98af (master): [ruby/psych] Propagate the host configuration to libyaml
https://git.ruby-lang.org/ruby.git/commit/?id=75efbb98af From 75efbb98afe854972a1c832ec5d4d66639c41c74 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 30 Mar 2022 22:51:54 +0900 Subject: [ruby/psych] Propagate the host configuration to libyaml https://github.com/ruby/psych/commit/0e37e19707 --- ext/psych/extconf.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb index 78456b5687..5c936c32b4 100644 --- a/ext/psych/extconf.rb +++ b/ext/psych/extconf.rb @@ -41,6 +41,7 @@ if yaml_source https://github.com/ruby/ruby/blob/trunk/ext/psych/extconf.rb#L41 Dir.mkdir(yaml) unless File.directory?(yaml) unless system(yaml_configure, "-q", "--enable-#{$enable_shared || !$static ? 'shared' : 'static'}", + "--host=#{RbConfig::CONFIG['host']}", *(["CFLAGS=-w"] if RbConfig::CONFIG["GCC"] == "yes"), chdir: yaml) raise "failed to configure libyaml" -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/