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 коммит произвёл Yusuke Endoh
Родитель d1f0d1ca2e
Коммит 01be881f35
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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