Skip to content

Commit 74ce7e4

Browse files
committed
toolchain/clang: Set compiler providers correctly
The clang toolchain include file contained some incorrect settings from the initial draft of the file. Fix those to point at the correct compiler. Signed-off-by: Richard Purdie <[email protected]>
1 parent 2a223aa commit 74ce7e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

meta/conf/toolchain/clang.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ READELF = "${HOST_PREFIX}llvm-readelf"
1717
PREFERRED_PROVIDER_virtual/cross-cc = "${MLPREFIX}clang-cross-${TARGET_ARCH}"
1818
PREFERRED_PROVIDER_virtual/cross-c++ = "${MLPREFIX}clang-cross-${TARGET_ARCH}"
1919
PREFERRED_PROVIDER_virtual/compilerlibs = "gcc-runtime"
20-
PREFERRED_PROVIDER_virtual/cross-cc:class-nativesdk = "gcc-crosssdk-${SDK_SYS}"
21-
PREFERRED_PROVIDER_virtual/cross-c++:class-nativesdk = "gcc-crosssdk-${SDK_SYS}"
20+
PREFERRED_PROVIDER_virtual/cross-cc:class-nativesdk = "clang-crosssdk-${SDK_SYS}"
21+
PREFERRED_PROVIDER_virtual/cross-c++:class-nativesdk = "clang-crosssdk-${SDK_SYS}"
2222

23-
PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "gcc-crosssdk-${SDK_SYS}"
24-
PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}"
23+
PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "clang-crosssdk-${SDK_SYS}"
24+
PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "clang-crosssdk-${SDK_SYS}"
2525
PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime"
2626

2727
BASE_DEFAULT_DEPS:append:class-target = " compiler-rt"

0 commit comments

Comments
 (0)