From aa4dfccc98dce64393f390201ea49152d2cb9d87 Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Fri, 14 Feb 2025 20:53:47 -0500 Subject: build: make clang the default compiler for build targets - fixes compiler version for hs-test and other CI jobs which default to CC=cc in make - not all build targets compile successfully with clang (e.g. libmemif, xdp-tools) which are hard-coded to use gcc for now Type: fix Change-Id: I505e67a08687f17fd4e26e1a3c236fb7c54ff49d Signed-off-by: Dave Wallace --- build/external/packages/xdp-tools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/external') diff --git a/build/external/packages/xdp-tools.mk b/build/external/packages/xdp-tools.mk index 08d94e42466..57f5e0ae83a 100644 --- a/build/external/packages/xdp-tools.mk +++ b/build/external/packages/xdp-tools.mk @@ -25,7 +25,7 @@ define xdp-tools_config_cmds endef define xdp-tools_build_cmds - @cd ${xdp-tools_src_dir} && $(MAKE) V=1 BUILD_STATIC_ONLY=y > $(xdp-tools_build_log) + @cd ${xdp-tools_src_dir} && $(MAKE) CC=gcc V=1 BUILD_STATIC_ONLY=y > $(xdp-tools_build_log) endef define xdp-tools_install_cmds -- cgit