kernel: add kcov code coverage
[linux-2.6-block.git] / arch / x86 / boot / compressed / Makefile
index 5e1d26e094076873c8f37b117de4588f568ccea5..6915ff2bd9962e0b495d0af05c18f51a9382c36e 100644 (file)
@@ -19,6 +19,9 @@
 KASAN_SANITIZE                 := n
 OBJECT_FILES_NON_STANDARD      := y
 
+# Prevents link failures: __sanitizer_cov_trace_pc() is not linked in.
+KCOV_INSTRUMENT                := n
+
 targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
        vmlinux.bin.xz vmlinux.bin.lzo vmlinux.bin.lz4