ruby-changes:54375
From: k0kubun <ko1@a...>
Date: Thu, 27 Dec 2018 23:32:34 +0900 (JST)
Subject: [ruby-changes:54375] k0kubun:r66589 (trunk): common.mk: pass CFLAGS to transform_mjit_header.rb
k0kubun 2018-12-27 23:32:29 +0900 (Thu, 27 Dec 2018) New Revision: 66589 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66589 Log: common.mk: pass CFLAGS to transform_mjit_header.rb so that flags like -msse4.1 are passed when checking compilation status in transform_mjit_header.rb. It matters for checking __builtin_xxx things. [Fix GH-2059] [Bug #14964] From: pavel <pavel.rosicky@e...> Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 66588) +++ common.mk (revision 66589) @@ -230,7 +230,7 @@ $(MJIT_MIN_HEADER:.h=)$(MJIT_HEADER_SUFF https://github.com/ruby/ruby/blob/trunk/common.mk#L230 $(srcdir)/tool/transform_mjit_header.rb $(PREP) \ $(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).h $(ECHO) building $@ - $(MINIRUBY) $(srcdir)/tool/transform_mjit_header.rb "$(CC) $(ARCH_FLAG)" $(MJIT_HEADER:.h=)$(MJIT_HEADER_ARCH).h $@ + $(MINIRUBY) $(srcdir)/tool/transform_mjit_header.rb "$(CC) $(ARCH_FLAG) $(CFLAGS)" $(MJIT_HEADER:.h=)$(MJIT_HEADER_ARCH).h $@ $(Q) $(MAKEDIRS) $(MJIT_HEADER_INSTALL_DIR) $(Q) $(MAKE_LINK) $@ $(MJIT_HEADER_INSTALL_DIR)/$(@F) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/