ruby-changes:57259
From: Nobuyoshi <ko1@a...>
Date: Mon, 26 Aug 2019 16:14:20 +0900 (JST)
Subject: [ruby-changes:57259] Nobuyoshi Nakada: fafabe2f43 (master): Add INCFLAGS for fake.rb
https://git.ruby-lang.org/ruby.git/commit/?id=fafabe2f43 From fafabe2f43ecd58588ac89edc5c177dd956825ad Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 26 Aug 2019 16:11:53 +0900 Subject: Add INCFLAGS for fake.rb INCFLAGS is not included in CPPFLAGS on mswin, not to be exported to rbconfig.rb. diff --git a/common.mk b/common.mk index c10e3ba..c647f89 100644 --- a/common.mk +++ b/common.mk @@ -727,7 +727,7 @@ no-fake -fake: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L727 # version.o depends on. $(arch)-fake.rb: $(srcdir)/template/fake.rb.in $(srcdir)/tool/generic_erb.rb version.$(OBJEXT) miniruby$(EXEEXT) $(ECHO) generating $@ - $(Q) $(CPP) -DRUBY_EXPORT $(CPPFLAGS) "$(srcdir)/version.c" | \ + $(Q) $(CPP) -DRUBY_EXPORT $(INCFLAGS) $(CPPFLAGS) "$(srcdir)/version.c" | \ $(BOOTSTRAPRUBY) "$(srcdir)/tool/generic_erb.rb" -o $@ "$(srcdir)/template/fake.rb.in" \ i=- srcdir="$(srcdir)" BASERUBY="$(BASERUBY)" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/