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

ruby-changes:50122

From: nobu <ko1@a...>
Date: Tue, 6 Feb 2018 09:47:24 +0900 (JST)
Subject: [ruby-changes:50122] nobu:r62240 (trunk): common.mk: ARCH_FLAG to mjit headers

nobu	2018-02-06 09:47:19 +0900 (Tue, 06 Feb 2018)

  New Revision: 62240

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

  Log:
    common.mk: ARCH_FLAG to mjit headers
    
    * common.mk (rb_mjit_header.h, rb_mjit_min_header.h): $(ARCH_FLAG)
      is necessary to compile for non-default architecture, e.g.,
      32bit build on 64bit platform.

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 62239)
+++ common.mk	(revision 62240)
@@ -197,12 +197,12 @@ 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 $(CPPOUTFLAG)vm.new
+	$(Q) $(CPP) $(MJIT_HEADER_FLAGS) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c $(CPPOUTFLAG)vm.new
 	$(Q) $(IFCHANGE) $@ vm.new
 
 $(MJIT_MIN_HEADER): rb_mjit_header.h $(srcdir)/tool/transform_mjit_header.rb $(PREP)
 	$(ECHO) building $@
-	$(MINIRUBY) $(srcdir)/tool/transform_mjit_header.rb "$(CC)" rb_mjit_header.h $@
+	$(MINIRUBY) $(srcdir)/tool/transform_mjit_header.rb "$(CC) $(ARCH_FLAG)" rb_mjit_header.h $@
 
 .PHONY: showflags
 exts enc trans: $(SHOWFLAGS)

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

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