ruby-changes:65306
From: Nobuyoshi <ko1@a...>
Date: Sat, 20 Feb 2021 21:13:09 +0900 (JST)
Subject: [ruby-changes:65306] 169c726f60 (master): [Win32] Fixed preprocessed file path
https://git.ruby-lang.org/ruby.git/commit/?id=169c726f60 From 169c726f60b18fa283ac903809c3350318d3f06e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 20 Feb 2021 21:05:57 +0900 Subject: [Win32] Fixed preprocessed file path Output preprocessed files under the corresponding directory to the source files. --- win32/Makefile.sub | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 46cca97..f03cd15 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1262,16 +1262,16 @@ $(ruby_pc): $(RBCONFIG) https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L1262 {$(srcdir)/missing}.c.i: $(ECHO) preprocessing $(<:\=/) - $(Q) $(CC) $(XCFLAGS) $(CPPFLAGS) -P $(CSRCFLAG)$(<:\=/) > $@ + $(Q) $(CC) $(XCFLAGS) $(CPPFLAGS) -P -Fi:$@ $(CSRCFLAG)$(<:\=/) {$(win_srcdir)}.c.i: $(ECHO) preprocessing $(<:\=/) - $(Q) $(CC) $(XCFLAGS) $(CPPFLAGS) -P $(CSRCFLAG)$(<:\=/) + $(Q) $(CC) $(XCFLAGS) $(CPPFLAGS) -P -Fi:$@ $(CSRCFLAG)$(<:\=/) {$(srcdir)}.c{}.i: $(ECHO) preprocessing $(<:\=/) - $(Q) $(CC) $(XCFLAGS) $(CPPFLAGS) -P $(CSRCFLAG)$(<:\=/) + $(Q) $(CC) $(XCFLAGS) $(CPPFLAGS) -P -Fi:$@ $(CSRCFLAG)$(<:\=/) .c.i: $(ECHO) preprocessing $(<:\=/) - $(Q) $(CC) $(XCFLAGS) $(CPPFLAGS) -P $(CSRCFLAG)$(<:\=/) + $(Q) $(CC) $(XCFLAGS) $(CPPFLAGS) -P -Fi:$@ $(CSRCFLAG)$(<:\=/) .rc.res: $(ECHO) compiling $(<:\=/) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/