From b3750eb71e101287aa0e7a231232222c7213b3f3 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 15 Aug 2018 09:48:50 -0400 Subject: [PATCH] remove `-Wextra` CFLAG fixes #1772 which was a regression from 77be60c --- ext/nokogiri/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/nokogiri/extconf.rb b/ext/nokogiri/extconf.rb index 1b0ca4ede6..cfcda83118 100644 --- a/ext/nokogiri/extconf.rb +++ b/ext/nokogiri/extconf.rb @@ -434,7 +434,7 @@ def using_system_libraries? 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