]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kernel-add-kcov-code-coverage-fix-2
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 9 Feb 2016 23:13:58 +0000 (10:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Feb 2016 23:13:58 +0000 (10:13 +1100)
unbreak allmodconfig

Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Makefile

index 57f17de02c5e3e12710261504452ded83870efe0..9092c16fa6cfb223b88e69eaef0dfcf2815bd08e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -678,6 +678,7 @@ ifdef CONFIG_KCOV
   ifeq ($(call cc-option, $(CFLAGS_KCOV)),)
     $(warning Cannot use CONFIG_KCOV: \
              -fsanitize-coverage=trace-pc is not supported by compiler)
+    CFLAGS_KCOV =
   endif
 endif