diff options
Diffstat (limited to 'ext/dl')
-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" |