From 174342b972ba5b1f431ccba50cee38a80fd9ce13 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 28 Mar 2022 11:22:38 +0900 Subject: Ignore warnings from yaml-0.2.5 These already have been reported to the upstream repeatedly. --- ext/psych/extconf.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext') 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 -- cgit v1.2.1