Commit 582847f9 authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Arnd Bergmann
Browse files

Makefile.kcov: apply needed compiler option unconditionally in CFLAGS_KCOV



Commit 852faf80 ("gcc-plugins: remove SANCOV gcc plugin") removes the
config CC_HAS_SANCOV_TRACE_PC, as all supported compilers include the
compiler option '-fsanitize-coverage=trace-pc' by now.

The commit however misses the important use of this config option in
Makefile.kcov to add '-fsanitize-coverage=trace-pc' to CFLAGS_KCOV.
Include the compiler option '-fsanitize-coverage=trace-pc' unconditionally
to CFLAGS_KCOV, as all compilers provide that option now.

Fixes: 852faf80 ("gcc-plugins: remove SANCOV gcc plugin")
Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@redhat.com>
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Reviewed-by: default avatarDmitry Vyukov <dvyukov@google.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 28d51df0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment