diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-22 15:04:35 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-22 15:04:35 +0000 |
commit | 618a4351784bc7aedf50f05b706f87ce9d193209 (patch) | |
tree | c2b07fab1a0f805bd79ccfe3fcc1a7e70eafd421 /ext | |
parent | 79c3e2d004c40449e987c1fb78602b7f3a93bd6a (diff) |
--enable-dlstack is true in default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dl/extconf.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb index dd9c3844e4..bd92313b7e 100644 --- a/ext/dl/extconf.rb +++ b/ext/dl/extconf.rb @@ -26,12 +26,8 @@ if (Config::CONFIG['CC'] =~ /gcc/) # from Win32API $CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer" end -if (Config::CONFIG['CC'] =~ /gcc/) && (Config::CONFIG['arch'] =~ /i.86/) - $with_asm = true -else - $with_asm = false -end -$with_dlstack = ! $with_asm +$with_dlstack ||= true +$with_asm = ! $with_dlstack $with_type_int = try_cpp(<<EOF) #include "config.h" |