[前][次][番号順一覧][スレッド一覧]

ruby-changes:50078

From: k0kubun <ko1@a...>
Date: Sun, 4 Feb 2018 18:48:50 +0900 (JST)
Subject: [ruby-changes:50078] k0kubun:r62196 (trunk): Makefile.in: use CFLAGS_NO_ARCH for cpp

k0kubun	2018-02-04 18:48:44 +0900 (Sun, 04 Feb 2018)

  New Revision: 62196

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62196

  Log:
    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.

  Modified files:
    trunk/Makefile.in
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 62195)
+++ Makefile.in	(revision 62196)
@@ -409,7 +409,7 @@ probes.@OBJEXT@: $(srcdir)/probes.d $(DT https://github.com/ruby/ruby/blob/trunk/Makefile.in#L409
 
 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:

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]