зеркало из https://github.com/github/ruby.git
use ifchange tool for rb_mjit_header.h
* Makefile.in, win32/Makefile.sub (rb_mjit_header.h): use ifchange tool. cmp command is not available on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
329776cd3d
Коммит
5dc3da0843
|
@ -411,7 +411,7 @@ probes.@OBJEXT@: $(srcdir)/probes.d $(DTRACE_REBUILD:yes=probes.stamp)
|
|||
rb_mjit_header.h: PHONY probes.h
|
||||
$(ECHO) building $@
|
||||
$(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c $(COUTFLAG) $@.new -E -P -dD
|
||||
$(Q) (cmp $@.new $@ && $(ECHO0) $@ unchanged && $(RM) $@.new) || $(MV) $@.new $@
|
||||
$(Q) $(IFCHANGE) $@ $@.new
|
||||
|
||||
$(MJIT_MIN_HEADER): rb_mjit_header.h $(srcdir)/tool/transform_mjit_header.rb
|
||||
$(ECHO) building $@
|
||||
|
|
|
@ -1189,7 +1189,7 @@ probes.h: {$(VPATH)}probes.dmyh
|
|||
rb_mjit_header.h: PHONY probes.h
|
||||
$(ECHO) building $@
|
||||
$(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c -P
|
||||
$(Q) (cmp vm.i $@ && $(ECHO0) $@ unchanged && $(RM) vm.i) || $(MV) vm.i $@
|
||||
$(Q) $(IFCHANGE) $@ vm.i
|
||||
|
||||
$(MJIT_MIN_HEADER): rb_mjit_header.h $(srcdir)/tool/transform_mjit_header.rb
|
||||
$(ECHO) building $@
|
||||
|
|
Загрузка…
Ссылка в новой задаче