ruby-changes:50083
From: nobu <ko1@a...>
Date: Sun, 4 Feb 2018 22:33:19 +0900 (JST)
Subject: [ruby-changes:50083] nobu:r62201 (trunk): Makefile.sub: CFLAGS_NO_ARCH
nobu 2018-02-04 22:33:13 +0900 (Sun, 04 Feb 2018) New Revision: 62201 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62201 Log: Makefile.sub: CFLAGS_NO_ARCH * win32/Makefile.sub: split CFLAGS into CFLAGS_NO_ARCH and ARCH_FLAG, as well as Makefile.in. Modified files: trunk/win32/Makefile.sub Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 62200) +++ win32/Makefile.sub (revision 62201) @@ -228,8 +228,14 @@ WARNFLAGS = -W2 https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L228 !endif !endif WERRORFLAG = -WX +!if !defined(CFLAGS_NO_ARCH) +CFLAGS_NO_ARCH = $(RUNTIMEFLAG) $(DEBUGFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(COMPILERFLAG) +!endif +!if !defined(ARCH_FLAG) +ARCH_FLAG = $(PROCESSOR_FLAG) +!endif !if !defined(CFLAGS) -CFLAGS = $(RUNTIMEFLAG) $(DEBUGFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG) $(COMPILERFLAG) +CFLAGS = $(CFLAGS_NO_ARCH) $(ARCH_FLAG) !endif !if !defined(CXXFLAGS) CXXFLAGS = $(CFLAGS) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/