[dpdk-dev] [PATCH 5/6] mk: add toolchain for clang and linuxapp target

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jul 17 12:23:26 CEST 2014


2014-07-08 00:36, Bruce Richardson:
> --- /dev/null
> +++ b/mk/toolchain/clang/rte.vars.mk
[...]
> +ifeq ($(KERNELRELEASE),)
> +CC        = $(CROSS)clang
> +else
> +CC        = $(CROSS)gcc
> +endif

Why not use clang for FreeBSD modules?
This page seems to encourage clang:
	https://wiki.freebsd.org/BuildingFreeBSDWithClang

-- 
Thomas


More information about the dev mailing list