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

ruby-changes:34203

From: nobu <ko1@a...>
Date: Mon, 2 Jun 2014 09:16:37 +0900 (JST)
Subject: [ruby-changes:34203] nobu:r46308 (trunk): gmake.mk: fix argument

nobu	2014-06-02 06:50:32 +0900 (Mon, 02 Jun 2014)

  New Revision: 46308

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

  Log:
    gmake.mk: fix argument
    
    * defs/gmake.mk: fix missing loop variable of `foreach`.

  Modified files:
    trunk/defs/gmake.mk
Index: defs/gmake.mk
===================================================================
--- defs/gmake.mk	(revision 46307)
+++ defs/gmake.mk	(revision 46308)
@@ -24,7 +24,7 @@ define archcmd https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L24
 %.i: %.$(1).i
 endef
 
-$(foreach $(filter -arch=%,$(subst -arch ,-arch=,$(ARCH_FLAG))),\
+$(foreach arch,$(filter -arch=%,$(subst -arch ,-arch=,$(ARCH_FLAG))),\
 	$(eval $(call archcmd,$(patsubst -arch=%,%,$(value arch)),$(patsubst -arch=%,-arch %,$(value arch)))))
 endif
 

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

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