From 5397a256348fd53e9ae01ab96e0890d887c21182 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 11 Sep 2013 08:30:48 +0000 Subject: [PATCH] configure.in: fix cross-compiling installation failure * configure.in (RUNRUBY): append -- only after runruby.rb, not cross-compiling baseruby, so that $(RUN_OPT) can be command line options. [ruby-dev:47703] [Bug #8893] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ Makefile.in | 2 +- configure.in | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bc8e22e55b..4f52aa58ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Sep 11 17:30:45 2013 Nobuyoshi Nakada + + * configure.in (RUNRUBY): append -- only after runruby.rb, not + cross-compiling baseruby, so that $(RUN_OPT) can be command line + options. [ruby-dev:47703] [Bug #8893] + Wed Sep 11 07:55:17 2013 KOSAKI Motohiro * thread.c (rb_mutex_unlock): Mutex#unlock no longer raise diff --git a/Makefile.in b/Makefile.in index 3c42ebd3e6..0034381630 100644 --- a/Makefile.in +++ b/Makefile.in @@ -96,7 +96,7 @@ RUBY = $(RUBY_INSTALL_NAME) MINIRUBY = @MINIRUBY@\ $(MINIRUBYOPT) RUNRUBY_COMMAND = @RUNRUBY@ $(RUNRUBYOPT) -RUNRUBY = $(RUNRUBY_COMMAND) -- $(RUN_OPTS) +RUNRUBY = $(RUNRUBY_COMMAND) $(RUN_OPTS) RUNRUBY_DEBUGGER = --debugger='gdb -x run.gdb --quiet --args' XRUBY = @XRUBY@ BTESTRUBY = @BTESTRUBY@\ diff --git a/configure.in b/configure.in index 5c69aa1dae..92c9e6ef31 100644 --- a/configure.in +++ b/configure.in @@ -2915,7 +2915,7 @@ else MINIRUBY='./miniruby$(EXEEXT) -I$(srcdir)/lib -I.' MINIRUBY="$MINIRUBY"' -I$(EXTOUT)/common' PREP='miniruby$(EXEEXT)' - RUNRUBY='$(MINIRUBY) $(srcdir)/tool/runruby.rb --extout=$(EXTOUT)' + RUNRUBY='$(MINIRUBY) $(srcdir)/tool/runruby.rb --extout=$(EXTOUT) --' XRUBY='$(RUNRUBY)' TEST_RUNNABLE=yes CROSS_COMPILING=no