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:
parent
2f0c383d9d
commit
b16245145b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue