Re: Building -native with clang

Khem Raj

Look into chromium recipe

On Thu, Nov 18, 2021 at 11:55 AM Joel Winarske <joel.winarske@...> wrote:

How do I get a -native recipe to use clang-native? I have this in my recipe, and target variant builds with clang:

RUNTIME = "llvm"
TOOLCHAIN = "clang"
PREFERRED_PROVIDER:libgcc = "compiler-rt"

All the environment variables are setup for gcc in the case of -native. No sign of clang.

This is with honister.


Join to automatically receive all group messages.