mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
b421f1a715
commit
56530b541b
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue