ruby-changes:65104
From: Nobuyoshi <ko1@a...>
Date: Mon, 1 Feb 2021 18:18:25 +0900 (JST)
Subject: [ruby-changes:65104] 0dd38902b9 (master): Ignore warnings when transforming preprocessed header
https://git.ruby-lang.org/ruby.git/commit/?id=0dd38902b9 From 0dd38902b96e6062130080ab5b96098dedf71139 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 1 Feb 2021 18:16:39 +0900 Subject: Ignore warnings when transforming preprocessed header For already preprocessed header, -Werror=misleading-indentation doesn't make sense. --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index 160c445..810530c 100644 --- a/common.mk +++ b/common.mk @@ -243,7 +243,7 @@ $(MJIT_MIN_HEADER:.h=)$(MJIT_HEADER_SUFFIX).h: \ https://github.com/ruby/ruby/blob/trunk/common.mk#L243 $(tooldir)/transform_mjit_header.rb $(PREP) \ $(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).h $(ECHO) building $@ - $(MINIRUBY) $(tooldir)/transform_mjit_header.rb "$(CC) $(CFLAGS)" $(MJIT_HEADER:.h=)$(MJIT_HEADER_ARCH).h $@ + $(MINIRUBY) $(tooldir)/transform_mjit_header.rb "$(CC) $(CFLAGS) -w" $(MJIT_HEADER:.h=)$(MJIT_HEADER_ARCH).h $@ $(Q) $(MAKEDIRS) $(MJIT_HEADER_INSTALL_DIR) $(Q) $(MAKE_LINK) $@ $(MJIT_HEADER_INSTALL_DIR)/$(@F) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/