On 12/12/2019 18:27, Anthony PERARD wrote:
> Kconfig can check if $(CC) is clang or not, if it is
> CONFIG_CC_IS_CLANG will be set.
>
> With that patch, the hypervisor can be built using clang by running
> `make CC=clang CXX=clang++` without needed to provide an extra clang
> parameter.
>
> `make clang=y` still works as Config.mk will set CC and CXX.
>
> Signed-off-by: Anthony PERARD <anthony.per...@citrix.com>

Acked-by: Andrew Cooper <andrew.coop...@citrix.com>

This is a massive improvement on the status quo.

Do we perhaps want to tweak the relevant CI scripts and other build
instructions now that clang=y is obsolete?

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to