aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-04 09:48:44 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-04 09:48:44 +0000
commit13ed17d1a8b03c9707568e80c2d4e7675706b25d (patch)
treeab95dce481d7e037aa300d37343a901bfa63f281
parent73a76840b984b63fefd77d38a131ba5b600c4de7 (diff)
downloadruby-13ed17d1a8b03c9707568e80c2d4e7675706b25d.tar.gz
Makefile.in: use CFLAGS_NO_ARCH for cpp
Using $(CFLAGS) breaks the build when multiple `-arch` options are given. Then we should omit arch flags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 0ae948703d..128dffa597 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -409,7 +409,7 @@ probes.@OBJEXT@: $(srcdir)/probes.d $(DTRACE_REBUILD:yes=probes.stamp)
rb_mjit_header.h: PHONY probes.h
$(ECHO) building $@
- $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c $(COUTFLAG) $@.new -E -P -dD
+ $(Q) $(CC) $(CFLAGS_NO_ARCH) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c $(COUTFLAG) $@.new -E -P -dD
$(Q) $(IFCHANGE) $@ $@.new
# DTrace static library hacks described here: