* ext/openssl/extconf.rb: configure.in adds -Wall to warnflags, not

CPPFLAGS.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-04-22 12:22:57 +00:00
parent f7d01d27a6
commit ec646dccdd

View File

@ -29,13 +29,6 @@ if with_config("debug") or enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end
##
# Automatically adds -Wall flag for compilation when GCC is used
#
if CONFIG['GCC'] == 'yes'
$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
end
message "=== Checking for system dependent stuff... ===\n"
have_library("nsl", "t_open")
have_library("socket", "socket")