summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 1738e22b6b..6be5f13ff9 100644
--- a/common.mk
+++ b/common.mk
@@ -197,8 +197,8 @@ mjit-headers: $(MJIT_MIN_HEADER)
rb_mjit_header.h: PHONY probes.h
$(ECHO) building $@
- $(Q) $(CPP) $(MJIT_HEADER_FLAGS) $(CFLAGS_NO_ARCH) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c $(COUTFLAG)$@.new
- $(Q) $(IFCHANGE) $@ $@.new
+ $(Q) $(CPP) $(MJIT_HEADER_FLAGS) $(CFLAGS_NO_ARCH) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c $(COUTFLAG)vm.i
+ $(Q) $(IFCHANGE) $@ vm.i
$(MJIT_MIN_HEADER): rb_mjit_header.h $(srcdir)/tool/transform_mjit_header.rb
$(ECHO) building $@