From: lal.harshita Date: Thu, 1 Jul 2021 10:47:16 +0000 (+0530) Subject: sonarqube testing X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=3c9d183d6ef78299835c7fd5c151ae592c860314;p=o-du%2Fl2.git sonarqube testing Signed-off-by: lal.harshita Change-Id: I3004a435931760d36ec66b761bc12805e8379822 --- diff --git a/build/odu/makefile b/build/odu/makefile index 1afa0df6c..61958eb05 100644 --- a/build/odu/makefile +++ b/build/odu/makefile @@ -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