1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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>
This commit is contained in:
Yuta Saito 2021-08-25 17:50:49 +09:00 committed by Yusuke Endoh
parent d1f0d1ca2e
commit 01be881f35
Notes: git 2021-08-25 18:48:07 +09:00

View file

@ -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)/%,$@)