aboutsummaryrefslogtreecommitdiffstats
path: root/defs
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-01 21:50:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-01 21:50:32 +0000
commitb16245145bd386b5d4cf4e25e9917718a10347cd (patch)
tree8da19db3d3227780d3817a09c789f7a28d4bcb43 /defs
parent2f0c383d9d4059d18a12fcb39d964c3fd1d433c2 (diff)
downloadruby-b16245145bd386b5d4cf4e25e9917718a10347cd.tar.gz
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
Diffstat (limited to 'defs')
-rw-r--r--defs/gmake.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index c024f0b483..c0ad9c7b74 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -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