diff options
author | Joel Stanley <joel@jms.id.au> | 2018-09-17 17:07:54 +0930 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-09-19 23:53:54 +0900 |
commit | 5a4630aadb9a9525474e9ac92965829f990cb5c4 (patch) | |
tree | 0cf3aaaf7087f75c4070db8360c2b89f5a1c1334 /Makefile | |
parent | 11da3a7f84f19c26da6f86af878298694ede0804 (diff) | |
download | linux-stable-5a4630aadb9a9525474e9ac92965829f990cb5c4.tar.gz linux-stable-5a4630aadb9a9525474e9ac92965829f990cb5c4.tar.bz2 linux-stable-5a4630aadb9a9525474e9ac92965829f990cb5c4.zip |
ftrace: Build with CPPFLAGS to get -Qunused-arguments
When building to record the mcount locations the kernel uses
KBUILD_CFLAGS but not KBUILD_CPPFLAGS. This means it lacks
-Qunused-arguments when building with clang, resulting in a lot of
noisy warnings.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions