Skip to content

Building lkl with Clang instead of GCC

Jens Staal edited this page Nov 21, 2015 · 2 revisions

In order to build with clang, you need to use the alternative (experimental) branch lkl_clang. This branch is currently kept sepparate in order to make it easier to mainline lkl-specific patches. This branch is mostly based on patches pulled in from the LLVMlinux project.

How to build: Simply use % make CC=clang HOSTCC=clang

Clone this wiki locally