build: fix 'make test' target to build with clang 27/40127/2
authorDave Wallace <dwallacelf@gmail.com>
Thu, 21 Dec 2023 01:02:45 +0000 (20:02 -0500)
committerDamjan Marion <dmarion@0xa5.net>
Fri, 22 Dec 2023 14:32:38 +0000 (14:32 +0000)
commitccc17f0a70918ae0f6e94037101718786702295c
tree733c4f128d9b4b39a6b75a2d5d7dd5c4baf5180d
parent95f07a16ae8098e1775fa83e4005b78d06991cee
build: fix 'make test' target to build with clang

- gmake set CC=cc as the default therefore the test/test-debug
  makefile targets will build using gcc (cc == gcc for debian/ubuntu
  distros) unless set explicitly to clang due to use of 'CC=$(CC)' in
  test macro.

  Note: the CI builds vpp images prior to running 'make test', thus
  the CI does test vpp built using clang.  This basically makes local
  runs of 'make test' build using clang as well.

Type: make

Change-Id: I7221098c200be23b53bb616e41a42a6d65a03699
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Makefile