[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <162074534493.289757.1243545574686276554.stgit@devnote2>
Date: Wed, 12 May 2021 00:02:25 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: Anders Roxell <anders.roxell@...aro.org>,
Leo Yan <leo.yan@...aro.org>, linux-kernel@...r.kernel.org,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: [PATCH 0/2] tools/perf: tools: Fix perf build issues
Hi,
These are the patches to fix the perf build issues which I reported in
the previous email.
https://lore.kernel.org/lkml/162037766527.94840.4323848545957010011.stgit@devnote2/
There are 2 issues I found and are fixed with these patches.
- Since the EXTRA_CLFAGS/WARNINGS are listed before -Wall/-Wextra in
CFLAGS, all -Wno-* flags in the EXTRA_CFLAGS/WARNINGS are ignored.
This makes EXTRA_WARNINGS ignored and developers can not use EXTRA_CLFAGS
for debugging compiler warnings.
- Clang's missing-field-initializers warning is too sensitive compared
with GCC. I think "{ NULL }" kind of syntax is allowed for simplify code.
Thank you,
---
Masami Hiramatsu (2):
perf build: Move EXTRA_CFLAGS and EXTRA_WARNINGS at the end of CFLAGS
tools: Add -Wno-missing-field-initializers to for clang
tools/perf/Makefile.config | 3 ++-
tools/scripts/Makefile.include | 4 ++++
2 files changed, 6 insertions(+), 1 deletion(-)
--
Masami Hiramatsu (Linaro) <mhiramat@...nel.org>
Powered by blists - more mailing lists