diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-04-01 20:15:00 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-04-05 22:35:40 +0900 |
commit | 97ce030954dab3f219779e235bee53ba408fbaca (patch) | |
tree | ef39c14350acc05da48ad2552729a92590dda060 /template | |
parent | d9c6f8d45c658121dcabb2e26cddb473e907d724 (diff) |
Load fake.rb at `BTESTRUBY`
So that `mkmf` checks work from `make run`, and also remove
duplicate `$(MINIRUBYOPT)` which is used in `$(MINIRUBY)`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5747
Diffstat (limited to 'template')
-rw-r--r-- | template/Makefile.in | 3 | ||||
-rw-r--r-- | template/fake.rb.in | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/template/Makefile.in b/template/Makefile.in index 54b32d05b3..37cdaa7993 100644 --- a/template/Makefile.in +++ b/template/Makefile.in @@ -147,8 +147,7 @@ RUNRUBY = @RUNRUBY@ $(RUN_OPTS) # RUNRUBY_DEBUGGER:: debugging option for runruby.rb RUNRUBY_DEBUGGER = --debugger='gdb -x run.gdb --quiet --args' XRUBY = @XRUBY@ -BTESTRUBY = @BTESTRUBY@\ - $(MINIRUBYOPT) +BTESTRUBY = @BTESTRUBY@ -r./$(arch)-fake INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ diff --git a/template/fake.rb.in b/template/fake.rb.in index 2280a4d8e7..7af17fa344 100644 --- a/template/fake.rb.in +++ b/template/fake.rb.in @@ -1,3 +1,5 @@ +# frozen_string_literal: true +# shareable_constant_value: literal <% arg = {} while /\A(\w+)=(.*)/ =~ ARGV[0] |