Building -native with clang


Joel Winarske
 

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.


Joel

Join yocto@lists.yoctoproject.org to automatically receive all group messages.