diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-03-28 11:22:38 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-03-28 11:27:10 +0900 |
commit | 174342b972ba5b1f431ccba50cee38a80fd9ce13 (patch) | |
tree | 5973dce771406fbd0faaffbe734d5e1d3ee71b59 /ext | |
parent | b97ae3d88919b1f084e0ec84409c3184cf789e32 (diff) | |
download | psych-174342b972ba5b1f431ccba50cee38a80fd9ce13.tar.gz |
Ignore warnings from yaml-0.2.5
These already have been reported to the upstream repeatedly.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/psych/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb index 02e0b7a..17c0dee 100644 --- a/ext/psych/extconf.rb +++ b/ext/psych/extconf.rb @@ -31,6 +31,7 @@ if yaml_source Dir.mkdir(yaml) unless File.directory?(yaml) unless system(yaml_configure, "-q", "--enable-#{$enable_shared || !$static ? 'shared' : 'static'}", + *(["CFLAGS=-w"] if RbConfig::CONFIG["GCC"] == "yes"), chdir: yaml) raise "failed to configure libyaml" end |