ruby-changes:57258
From: Nobuyoshi <ko1@a...>
Date: Mon, 26 Aug 2019 13:15:00 +0900 (JST)
Subject: [ruby-changes:57258] Nobuyoshi Nakada: b4d6d9c167 (master): Removed unnecessary flags for fake.rb
https://git.ruby-lang.org/ruby.git/commit/?id=b4d6d9c167 From b4d6d9c167a096c8647f989ae74e21c1929d227f Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 26 Aug 2019 13:14:01 +0900 Subject: Removed unnecessary flags for fake.rb Flags for ruby core such as warning and `_FORTIFY_SOURCE` macro are not necessary to make fake.rb, except for `RUBY_EXPORT` macro which prevents to include ruby/backward.h. diff --git a/common.mk b/common.mk index e5ae5f1..c10e3ba 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) $(warnflags) $(XCFLAGS) $(CPPFLAGS) "$(srcdir)/version.c" | \ + $(Q) $(CPP) -DRUBY_EXPORT $(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/