diff options
Diffstat (limited to 'community/ruby-nokogiri/fix-extconf.patch')
-rw-r--r-- | community/ruby-nokogiri/fix-extconf.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ruby-nokogiri/fix-extconf.patch b/community/ruby-nokogiri/fix-extconf.patch new file mode 100644 index 0000000000..6eb029535f --- /dev/null +++ b/community/ruby-nokogiri/fix-extconf.patch @@ -0,0 +1,11 @@ +--- a/ext/nokogiri/extconf.rb ++++ b/ext/nokogiri/extconf.rb +@@ -434,7 +434,7 @@ + + if RbConfig::MAKEFILE_CONFIG['CC'] =~ /gcc/ + $CFLAGS << " -O3" unless $CFLAGS[/-O\d/] +- $CFLAGS << " -Wall -Wcast-qual -Wwrite-strings -Wextra -Wmissing-noreturn -Winline" ++ $CFLAGS << " -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline" + end + + case |