summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authorYuta Saito <kateinoigakukun@gmail.com>2021-08-25 17:50:49 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-08-25 18:47:44 +0900
commit01be881f35e6dafbd8498f2ca9a02eedb1f40319 (patch)
tree5bf085bcacc9b2fa441c94aa32ef0faffb8fee55 /defs
parentd1f0d1ca2ea4d7418b096ce71f68ce2bb3afd2c4 (diff)
Use `empty` instead of NOOP in mk file to make it safer
This would avoid unintentional use of the `NOOP` environment variable Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4776
Diffstat (limited to 'defs')
-rw-r--r--defs/gmake.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index 7dd24cfdb4..1ca6bc679e 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -362,7 +362,7 @@ spec/bundler: test-bundler-parallel
# workaround to avoid matching non ruby files with "spec/%/" under GNU make 3.81
spec/%_spec.c spec/%_spec.bundle:
- $(NOOP)
+ $(empty)
spec/%/ spec/%_spec.rb: programs exts PHONY
+$(RUNRUBY) -r./$(arch)-fake $(srcdir)/spec/mspec/bin/mspec-run -B $(srcdir)/spec/default.mspec $(SPECOPTS) $(patsubst %,$(srcdir)/%,$@)