[ruby/psych] Remove unknown vendor for cross-compiling tool prefix

https://github.com/ruby/psych/commit/a4ffa06646
This commit is contained in:
Nobuyoshi Nakada 2022-03-31 12:11:30 +09:00 committed by git
parent 663c297e34
commit 217cea7812

View File

@ -41,7 +41,7 @@ if yaml_source
Dir.mkdir(yaml) unless File.directory?(yaml)
unless system(yaml_configure, "-q",
"--enable-#{$enable_shared || !$static ? 'shared' : 'static'}",
"--host=#{RbConfig::CONFIG['host']}",
"--host=#{RbConfig::CONFIG['host'].sub(/-unknown-/, '-')}",
*(["CFLAGS=-w"] if RbConfig::CONFIG["GCC"] == "yes"),
chdir: yaml)
raise "failed to configure libyaml"