X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;fp=Makefile;h=70e7dd3dd707bc7c8ca40a6a5271b0511bdf3530;hb=ccc17f0a70918ae0f6e94037101718786702295c;hp=ed7d5b2e5436f5ccf9bb1b2d5bb1a5e8c0167124;hpb=95f07a16ae8098e1775fa83e4005b78d06991cee;p=vpp.git diff --git a/Makefile b/Makefile index ed7d5b2e543..70e7dd3dd70 100644 --- a/Makefile +++ b/Makefile @@ -448,10 +448,16 @@ endef .PHONY: test test: +ifeq ($(CC),cc) + $(eval CC=clang) +endif $(call test,vpp,test) .PHONY: test-debug test-debug: +ifeq ($(CC),cc) + $(eval CC=clang) +endif $(call test,vpp_debug,test) .PHONY: test-cov