X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=build%2Fodu%2Fmakefile;h=61958eb05c80448d6a64b3750fa9f5362d7d6823;hb=refs%2Fchanges%2F53%2F6453%2F1;hp=1afa0df6c03f258619b60a8792cfc74498bdde32;hpb=3c9a60ea3d2abf5e22f741f268bdfc37a09743ef;p=o-du%2Fl2.git 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