summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-15 23:42:41 -0800
committerGitHub <noreply@github.com>2022-11-15 23:42:41 -0800
commitfca50abb7c7e5369fdb8d2d3b6c1750076f3d846 (patch)
tree9d1f541a56b486a0a1991ebd5b646dbd27461494 /common.mk
parentcd2da0941035c231bc95007a269b6dc3d4b62ca9 (diff)
Let mjit-bindgen use BASERUBY and bundle/inline (#6740)
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk14
1 files changed, 1 insertions, 13 deletions
diff --git a/common.mk b/common.mk
index 404388e935..1d11753fa5 100644
--- a/common.mk
+++ b/common.mk
@@ -249,19 +249,7 @@ mjit_config.h: Makefile
.PHONY: mjit-bindgen
mjit-bindgen:
- $(Q)$(XRUBY) -C $(srcdir) -Ilib \
- -e 'ENV["GEM_HOME"] = File.expand_path(".bundle")' \
- -e 'ENV["BUNDLE_APP_CONFIG"] = File.expand_path(".bundle")' \
- -e 'ENV["BUNDLE_PATH__SYSTEM"] = "true"' \
- -e 'ENV["BUNDLE_WITHOUT"] = "lint doc"' \
- -e 'load "spec/bundler/support/bundle.rb"' -- install --gemfile=tool/mjit/Gemfile
- $(Q)$(XRUBY) -C $(srcdir) -Ilib \
- -e 'ENV["GEM_HOME"] = File.expand_path(".bundle")' \
- -e 'ENV["BUNDLE_APP_CONFIG"] = File.expand_path(".bundle")' \
- -e 'ENV["BUNDLE_GEMFILE"] = "tool/mjit/Gemfile"' \
- -e 'ENV["BUNDLE_PATH__SYSTEM"] = "true"' \
- -e 'ENV["BUNDLE_WITHOUT"] = "lint doc"' \
- -e 'load "spec/bundler/support/bundle.rb"' -- exec tool/mjit/bindgen.rb $(CURDIR)
+ $(Q) $(BASERUBY) -rrubygems -C $(srcdir)/tool/mjit bindgen.rb $(CURDIR)
# These rules using MJIT_HEADER_SUFFIX must be in common.mk, not
# Makefile.in, in order to override the macro in defs/universal.mk.