ruby-changes:23375
From: nobu <ko1@a...>
Date: Sun, 22 Apr 2012 21:23:07 +0900 (JST)
Subject: [ruby-changes:23375] nobu:r35426 (trunk): * ext/openssl/extconf.rb: configure.in adds -Wall to warnflags, not
nobu 2012-04-22 21:22:57 +0900 (Sun, 22 Apr 2012) New Revision: 35426 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35426 Log: * ext/openssl/extconf.rb: configure.in adds -Wall to warnflags, not CPPFLAGS. Modified files: trunk/ext/openssl/extconf.rb Index: ext/openssl/extconf.rb =================================================================== --- ext/openssl/extconf.rb (revision 35425) +++ ext/openssl/extconf.rb (revision 35426) @@ -29,13 +29,6 @@ $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") -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/