summaryrefslogtreecommitdiffstats
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-08 08:29:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-08 08:29:24 +0000
commit3e73d7e4b7c45f44df3b7fc5c1728e5f02936e14 (patch)
tree8b79d9630cb15e29cf58857d3578f2ccdd21d1bf /ext/extmk.rb
parentef2845a5111390b50f797e846b1a379e9a432e82 (diff)
downloadruby-3e73d7e4b7c45f44df3b7fc5c1728e5f02936e14.tar.gz
ruby-3e73d7e4b7c45f44df3b7fc5c1728e5f02936e14.tar.xz
ruby-3e73d7e4b7c45f44df3b7fc5c1728e5f02936e14.zip
* common.mk, ext/extmk.rb, lib/mkmf.rb: removed RUBYOPT.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rw-r--r--ext/extmk.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index db2682ef9..12400ace4 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -350,7 +350,7 @@ unless CROSS_COMPILING
$ruby << " -I'$(extout)/$(arch)' -I'$(extout)/common'" if $extout
$ruby << " -I./- -I'$(top_srcdir)/ext' -rpurelib.rb"
ENV["RUBYLIB"] = "-"
- ENV["RUBYOPT"] = "-rpurelib.rb"
+ ENV.delete("RUBYOPT")
end
$config_h = '$(arch_hdrdir)/ruby/config.h'
$mflags << "ruby=#$ruby"
@@ -555,7 +555,6 @@ if $nmake == ?b
end
end
$mflags.unshift("topdir=#$topdir")
-ENV.delete("RUBYOPT")
system($make, *sysquote($mflags)) or exit($?.exitstatus)
#Local variables: