summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-22 15:04:35 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-22 15:04:35 +0000
commit8af50cc8384926e2a44c431cec9151a4ce2be7e9 (patch)
treec2b07fab1a0f805bd79ccfe3fcc1a7e70eafd421 /ext
parent80fcc2aea7970eed8669d4690cdfecca5c7807b5 (diff)
downloadruby-8af50cc8384926e2a44c431cec9151a4ce2be7e9.tar.gz
ruby-8af50cc8384926e2a44c431cec9151a4ce2be7e9.tar.xz
ruby-8af50cc8384926e2a44c431cec9151a4ce2be7e9.zip
--enable-dlstack is true in default.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/dl/extconf.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb
index dd9c3844e..bd92313b7 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"