summaryrefslogtreecommitdiff
path: root/ext/dl/extconf.rb
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/dl/extconf.rb
parentffad7d737c0cec88ccb5c3ce59e59a2b7d6647ac (diff)
* 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/dl/extconf.rb')
-rw-r--r--ext/dl/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb
index 36babf4143..8317ac35ad 100644
--- a/ext/dl/extconf.rb
+++ b/ext/dl/extconf.rb
@@ -1,6 +1,6 @@
require 'mkmf'
-if( RbConfig::CONFIG['CC'] =~ /gcc/ )
+if RbConfig::CONFIG['GCC'] == 'yes'
$CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer"
end