diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-11-26 01:04:07 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2024-11-26 19:06:21 +0900 |
| commit | c5d31cb96be7407f102a2efebddcf4ab19cba168 (patch) | |
| tree | 21811cd4081e7a3ea0b081876a4792aeec7cddfd /common.mk | |
| parent | 16d98dc3c14675295ecb0945d0464c02a66453a7 (diff) | |
Shell dependent command should be in Makefile.in
As common.mk is used by nmake.exe, the commands there need to be
accepted also by cmd.exe.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12166
Diffstat (limited to 'common.mk')
| -rw-r--r-- | common.mk | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1943,14 +1943,8 @@ rewindable: HELP_EXTRA_TASKS = "" -shared-gc: probes.h - $(Q) if test -z $(shared_gc_dir); then \ - echo "You must configure with --with-shared-gc to use shared GC"; \ - exit 1; \ - elif test -z $(SHARED_GC); then \ - echo "You must specify SHARED_GC with the GC to build"; \ - exit 1; \ - fi +shared-gc-precheck: +shared-gc: probes.h shared-gc-precheck $(Q) $(MAKEDIRS) $(shared_gc_dir) .gc/$(arch)/$(SHARED_GC) $(Q) $(RUNRUBY) -C .gc/$(arch)/$(SHARED_GC) $(CURDIR)/$(srcdir)/gc/$(SHARED_GC)/$(EXTCONF) $(Q) $(CHDIR) .gc/$(arch)/$(SHARED_GC) && \ |
