mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
mkconfig.rb: remove cross_compiling
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
842a05d2f8
commit
d5c776ad58
@ -699,7 +699,6 @@ $(RBCONFIG): $(srcdir)/tool/mkconfig.rb config.status $(srcdir)/version.h
|
||||
-e '(mis.delete(ARGF.path); ARGF.close) if /ONIG_UNICODE_VERSION_STRING +"#{Regexp.quote(version)}"/o' \
|
||||
$(UNICODE_VERSION) $(UNICODE_DATA_HEADERS)
|
||||
$(Q)$(BOOTSTRAPRUBY) $(srcdir)/tool/mkconfig.rb \
|
||||
-cross_compiling=$(CROSS_COMPILING) \
|
||||
-arch=$(arch) -version=$(RUBY_PROGRAM_VERSION) \
|
||||
-install_name=$(RUBY_INSTALL_NAME) \
|
||||
-so_name=$(RUBY_SO_NAME) \
|
||||
|
||||
@ -8,13 +8,11 @@
|
||||
# avoid warnings with -d.
|
||||
$install_name ||= nil
|
||||
$so_name ||= nil
|
||||
$cross_compiling ||= nil
|
||||
$unicode_version ||= nil
|
||||
arch = $arch or raise "missing -arch"
|
||||
version = $version or raise "missing -version"
|
||||
|
||||
srcdir = File.expand_path('../..', __FILE__)
|
||||
$:.replace [srcdir+"/lib"] unless $cross_compiling == "yes"
|
||||
$:.unshift(".")
|
||||
|
||||
require "fileutils"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user