Skip to content

Commit

Permalink
layer.conf: Prefer llvm libunwind when RUNTIME = "llvm"
Browse files Browse the repository at this point in the history
Avoids conflicts with libunwind recipe from OE-Core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Jun 8, 2021
1 parent dc5e04e commit 5be1042
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ PREFERRED_PROVIDER_libgcc-initial = "libgcc-initial"
PREFERRED_PROVIDER_llvm = "clang"
PREFERRED_PROVIDER_llvm-native = "clang-native"
PREFERRED_PROVIDER_nativesdk-llvm = "nativesdk-clang"
PREFERRED_PROVIDER_libunwind = "${@bb.utils.contains("RUNTIME", "llvm", "libcxx", "libunwind", d)}"
INHERIT += "clang"

# Do not include clang in SDK unless user wants to
Expand Down

0 comments on commit 5be1042

Please sign in to comment.