1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

gmake.mk: fix argument

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-06-01 21:50:32 +00:00
parent 2f0c383d9d
commit b16245145b

View file

@ -24,7 +24,7 @@ define archcmd
%.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