diff options
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r-- | xen/Rules.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk index c2db449648..3f0b262228 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -103,6 +103,8 @@ subdir-all := $(subdir-y) $(subdir-n) $(filter %.init.o,$(obj-y) $(obj-bin-y)): CFLAGS += -DINIT_SECTIONS_ONLY +$(obj-$(coverage)): CFLAGS += -fprofile-arcs -ftest-coverage -DTEST_COVERAGE + ifeq ($(lto),y) # Would like to handle all object files as bitcode, but objects made from # pure asm are in a different format and have to be collected separately. |