From a4fbd748e24ff25af354d7e993adf5e8a6bacf0f Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 12 Sep 2009 08:31:44 +0000 Subject: * configure.in (GCC): subst for GCC depending extension libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl') diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 6b83489642..993d9e9f18 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -28,7 +28,7 @@ message "=== OpenSSL for Ruby configurator ===\n" if with_config("debug") or enable_config("debug") $defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG" - if /gcc/ =~ CONFIG["CC"] + if CONFIG['GCC'] == 'yes' $CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall" end end -- cgit v1.2.3