summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-12 08:31:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-12 08:31:44 +0000
commita4fbd748e24ff25af354d7e993adf5e8a6bacf0f (patch)
tree48b6feb009aebf7526569ac6d0b28c49ff0d6b4f /ext/openssl
parentffad7d737c0cec88ccb5c3ce59e59a2b7d6647ac (diff)
downloadruby-a4fbd748e24ff25af354d7e993adf5e8a6bacf0f.tar.gz
* 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
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/extconf.rb2
1 files changed, 1 insertions, 1 deletions
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