зеркало из https://github.com/github/ruby.git
[ruby/psych] Propagate `CC` to libyaml
It is needed for cross-compiling to set properly. Just `--target`/`--host`/`--build` seems insufficient on some platforms. https://github.com/ruby/psych/commit/2d00c0c203
This commit is contained in:
Родитель
de427c3ce0
Коммит
57377e5d53
|
@ -45,6 +45,7 @@ if yaml_source
|
|||
yaml_configure,
|
||||
"--enable-#{shared ? 'shared' : 'static'}",
|
||||
"--host=#{RbConfig::CONFIG['host'].sub(/-unknown-/, '-')}",
|
||||
"CC=#{RbConfig::CONFIG['CC']}",
|
||||
*(["CFLAGS=-w"] if RbConfig::CONFIG["GCC"] == "yes"),
|
||||
]
|
||||
puts(args.quote.join(' '))
|
||||
|
|
Загрузка…
Ссылка в новой задаче