Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3368535imm; Tue, 29 May 2018 06:09:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK/MzB3uWfl/1WhGWTun9f/kR7ujZxF6qYD/Nyk2rPPfJamttUkn7tWbLlmBV1Y4XpkoSEQ X-Received: by 2002:a17:902:9b83:: with SMTP id y3-v6mr5875802plp.358.1527599386719; Tue, 29 May 2018 06:09:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527599386; cv=none; d=google.com; s=arc-20160816; b=Y8Wyrc3n3JoREO9iP/9MAFQYRxw7O4jjtZdBLwsS5G4asVUuD9LaeeC5IQcGTJuuBI xA5fjAFBY2aCWOPTLNdve9ajEINpugFLdnXkHYbp5BASltcCqaPnNPRKTDXyuq12ybcE TdTcPHnUoABdffaVXTKolKASA3EgWq2sgVzNEJkLz8Z4cVWAliaht/gLHTOADHQvISLM 4JIQkRH2bO4lE5JDg+FCWTnX+OXZ35Dm7pZ6xKc5HLL01/BeD1M1Bl2UCfM8kXMpaxGw EaNNayt7dBiNqaKsasKIxzdywI3OVJCIjgjHfQdksURUVoxKe87s7HLrXix2c5ExZnCk BP4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=2d0QLVneHV9GO4mFCZ09JIhSjG5kRrmsvE2siLtKq0c=; b=lxfjrwwstDyF/U7WX0C3KKFzAjjp9RuM98/NsgKfoETcK+71l65mBl171ZXv2ZRfnA ORwpS9yRCqgjq73lF5a9CyUnpMIT09Goxjj/75gKaTwl7jYryoylVKqdk75qoKvAHPJA WYXqZdguEIjgZQWODdTLSahym4zG+XtzyiRHAT3oh/bwkkHxi1gWw/8mE89uMoMTNVUi eUBeF1Xd1eQFBQi5YCiuVW8ocGC34WzpCIboEp5M+KcE9rmHNYejn/N3nFHmHLVPU4Ac 4TIWf2w/Ato57DsdP7sBxSTk0gItA/NP3FvMyb4Mbi9X7WctfR2TTCnt2/A5k916hNUz +Kaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=KfRkQUur; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a23-v6si31849217pls.571.2018.05.29.06.09.32; Tue, 29 May 2018 06:09:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=KfRkQUur; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934116AbeE2NId (ORCPT + 99 others); Tue, 29 May 2018 09:08:33 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:40105 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933444AbeE2NIa (ORCPT ); Tue, 29 May 2018 09:08:30 -0400 Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) (authenticated) by conssluserg-02.nifty.com with ESMTP id w4TD8Rnb006965; Tue, 29 May 2018 22:08:27 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com w4TD8Rnb006965 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1527599308; bh=2d0QLVneHV9GO4mFCZ09JIhSjG5kRrmsvE2siLtKq0c=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=KfRkQUurd8BVKNErFvyDaNd6cUeMAz3nZ4IVW4PkqNa6gGvF7PS9fDh5ZTUotBkuq boOTKHTD6HpYvDe9TjOamlUYQOb3J2TW3ZNMZQilDA+ecq375eVkspvP5t2V0ATYij 3BPU/8cZMPlecdra8+MfDSBn23OfYsf5Clx+dUoYuXL2hIC4RXzN4IQnjqZ029olFD 3doDBNgxMy9G3UVJoxZ0SFvOMPgNjw5wVBQnLN3iTbh0zhm2v8PzmS8SCwu/4ERJ4U FrF8pNcJkt9eWxu0V3c/sC1wQgcDRK/UptfLm32HkW2i8OXeL7XA2znzLDHjCINdK4 CXzhdx2CDjm8g== X-Nifty-SrcIP: [209.85.213.54] Received: by mail-vk0-f54.google.com with SMTP id 128-v6so3468971vkf.8; Tue, 29 May 2018 06:08:27 -0700 (PDT) X-Gm-Message-State: ALKqPwcwkFoyyNqRvqO6W56XQAtP8ZHQCiVW8SsW59jjqD5pSJNVbafX ZwqNtL6L1HMnn8LIR4R6kFc26RdJ/bx7cOhQxrI= X-Received: by 2002:a1f:acc4:: with SMTP id v187-v6mr10004085vke.11.1527599306745; Tue, 29 May 2018 06:08:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:55d8:0:0:0:0:0 with HTTP; Tue, 29 May 2018 06:07:46 -0700 (PDT) In-Reply-To: <20180528134722.11358-1-luc.vanoostenryck@gmail.com> References: <20180528134722.11358-1-luc.vanoostenryck@gmail.com> From: Masahiro Yamada Date: Tue, 29 May 2018 22:07:46 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: $(CHECK) doesnt need NOSTDINC_FLAGS twice To: Luc Van Oostenryck Cc: Linux Kernel Mailing List , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-05-28 22:47 GMT+09:00 Luc Van Oostenryck : > Currently, $(CHECK) receives NOSTDINC_FLAGS twice: > * first directly in the main Makefile via CHECKFLAGS, > * then indirectly in scripts/Makefile.build via c_flags. > > Since once is enough, leave the occurence via c_flags and > remove the one via CHECKFLAGS. > > Signed-off-by: Luc Van Oostenryck > --- Applied to linux-kbuild. Thanks. > Makefile | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 56ba070df..3140ab1db 100644 > --- a/Makefile > +++ b/Makefile > @@ -808,7 +808,6 @@ endif > > # arch Makefile may override CC so keep this after arch Makefile is included > NOSTDINC_FLAGS += -nostdinc -isystem $(call shell-cached,$(CC) -print-file-name=include) > -CHECKFLAGS += $(NOSTDINC_FLAGS) > > # warn about C99 declaration after statement > KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) > -- > 2.17.0 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada