sonarqube testing 53/6453/1
authorlal.harshita <Harshita.Lal@radisys.com>
Thu, 1 Jul 2021 10:47:16 +0000 (16:17 +0530)
committerlal.harshita <Harshita.Lal@radisys.com>
Thu, 1 Jul 2021 10:47:16 +0000 (16:17 +0530)
Signed-off-by: lal.harshita <Harshita.Lal@radisys.com>
Change-Id: I3004a435931760d36ec66b761bc12805e8379822

build/odu/makefile

index 1afa0df..61958eb 100644 (file)
@@ -44,7 +44,11 @@ PARALLEL_COMP=-j $(NUM_PARALLEL)
 # # Other apsects of tool chain set here
 # # These should be made available appropriately to the builds
 ifeq ($(MACHINE),BIT64)
+ifeq ($(COVERAGE),1)
+CC          =gcc -m64 --coverage
+else
 CC          =gcc -m64
+endif
 CC_STRIP    =strip --strip-all
 CC_LINKER   =gcc -m64
 CCPP        =g++ -m64