[前][次][番号順一覧][スレッド一覧]

ruby-changes:50088

From: k0kubun <ko1@a...>
Date: Mon, 5 Feb 2018 00:05:42 +0900 (JST)
Subject: [ruby-changes:50088] k0kubun:r62206 (trunk): common.mk: use vm.i as the temporary filename

k0kubun	2018-02-05 00:05:37 +0900 (Mon, 05 Feb 2018)

  New Revision: 62206

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62206

  Log:
    common.mk: use vm.i as the temporary filename
    
    because `cl -P vm.c` always produces vm.i regardless of -o XXX and
    currently mswin build is failing.
    
    Fixing r62202. If this commit does not work, I'll revert this and
    r62202.

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 62205)
+++ common.mk	(revision 62206)
@@ -197,8 +197,8 @@ mjit-headers: $(MJIT_MIN_HEADER) https://github.com/ruby/ruby/blob/trunk/common.mk#L197
 
 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 $@

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]