From patchwork Mon Feb 17 01:27:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11384901 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7D1BB138D for ; Mon, 17 Feb 2020 01:28:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5DFF6208C4 for ; Mon, 17 Feb 2020 01:28:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581902888; bh=baeScyGusiRV3berIPUSOlWdyV9yx07QvTcPq58GHt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=lg9/wR3jC8v1giB91yg3h0lB78yZmbHvqH3LwqYosqdXBBdX4I9aacEjy/ylf+6kp eqZnpDSh6/hVmHa1oUKydsRBQAuOpqwwWEulWPqXhE1UCXRs/8z5S5yZWMnw5s7YDD 5XrSncM+xaRMjDaAFMbxU3S3v6IxmbMFNdqz1nNE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726261AbgBQB2H (ORCPT ); Sun, 16 Feb 2020 20:28:07 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:24958 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726183AbgBQB2H (ORCPT ); Sun, 16 Feb 2020 20:28:07 -0500 Received: from grover.flets-west.jp (softbank126093102113.bbtec.net [126.93.102.113]) (authenticated) by conuserg-12.nifty.com with ESMTP id 01H1Rgfd021181; Mon, 17 Feb 2020 10:27:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com 01H1Rgfd021181 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1581902863; bh=b2C0mNSiSflBIpFhx2jp8oS9m4aSg9to0J1QrHz8qhQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qmCerFE/26omD4hEnBrJOEOvxuBEvN0ndLWDwILhFUo5QBArg/YHmmMH5BUQGZIU+ uiGLh3G1mdl/7YW4Gfio4U7MsCBqVlwgLsipYW7edFR+BL35di2LLA/pVdI3si/kLh Ju2/74G9ZdoVGUEK2U9X2eUeOAW4Kja0/+WgO3D+KoLhJakITC06mrDvkLKY7t9Vv/ qH0ZaIV7Lt9gwgBySD3HDnJ+x2SN7Bx8pPp6kpypxtwtIBiEPORaFD1EXwqSs20c5C ZumERDqn1Wgx2Fn8GELKmYVQkNq6OsVKxh6hb8esdbMd1kfABo3Pl1kc6ySME/vvEX DwlPS5mbuRD0g== X-Nifty-SrcIP: [126.93.102.113] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Michal Marek Subject: [PATCH 2/2] kbuild: add -Wall to KBUILD_HOSTCXXFLAGS Date: Mon, 17 Feb 2020 10:27:41 +0900 Message-Id: <20200217012741.22100-2-masahiroy@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200217012741.22100-1-masahiroy@kernel.org> References: <20200217012741.22100-1-masahiroy@kernel.org> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Add -Wall to catch more warnings for host programs written in C++. Signed-off-by: Masahiro Yamada Reported-by: kbuild test robot --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8f15926b83bb..0ad7c1b14d59 100644 --- a/Makefile +++ b/Makefile @@ -399,7 +399,7 @@ HOSTCXX = g++ KBUILD_HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 \ -fomit-frame-pointer -std=gnu89 $(HOST_LFS_CFLAGS) \ $(HOSTCFLAGS) -KBUILD_HOSTCXXFLAGS := -O2 $(HOST_LFS_CFLAGS) $(HOSTCXXFLAGS) +KBUILD_HOSTCXXFLAGS := -Wall -O2 $(HOST_LFS_CFLAGS) $(HOSTCXXFLAGS) KBUILD_HOSTLDFLAGS := $(HOST_LFS_LDFLAGS) $(HOSTLDFLAGS) KBUILD_HOSTLDLIBS := $(HOST_LFS_LIBS) $(HOSTLDLIBS)