1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk, ext/extmk.rb, lib/mkmf.rb: removed RUBYOPT.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-05-08 08:29:24 +00:00
parent b938618359
commit 279b358d00
4 changed files with 6 additions and 5 deletions

View file

@ -1,4 +1,6 @@
Thu May 8 16:46:06 2008 Tanaka Akira <akr@fsij.org>
Thu May 8 17:29:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk, ext/extmk.rb, lib/mkmf.rb: removed RUBYOPT.
* file.c (rb_find_file_ext): guard load_path from GC.
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) optimizes

View file

@ -5,7 +5,7 @@ dll: $(LIBRUBY_SO)
.SUFFIXES: .inc
RUBYLIB = -
RUBYOPT = -rpurelib.rb
RUBYOPT =
STATIC_RUBY = static-ruby

View file

@ -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:

View file

@ -1312,7 +1312,7 @@ arch_hdrdir = #{$arch_hdrdir}
VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])}
}
if $extmk
mk << "RUBYLIB = -\nRUBYOPT = -rpurelib.rb\n"
mk << "RUBYLIB = -\nRUBYOPT =\n"
end
if destdir = CONFIG["prefix"][$dest_prefix_pattern, 1]
mk << "\nDESTDIR = #{destdir}\n"