X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=70e7dd3dd707bc7c8ca40a6a5271b0511bdf3530;hb=56e17cf7a23831b353bc1836def47dad7f869dad;hp=ed7d5b2e5436f5ccf9bb1b2d5bb1a5e8c0167124;hpb=8800f732f868bf54da8adba05e38bd2477895ca5;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