summaryrefslogtreecommitdiffstats
path: root/meta/classes/toolchain/clang-native.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/toolchain/clang-native.bbclass')
-rw-r--r--meta/classes/toolchain/clang-native.bbclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/classes/toolchain/clang-native.bbclass b/meta/classes/toolchain/clang-native.bbclass
index c8b20ff8c4..4de491a1cb 100644
--- a/meta/classes/toolchain/clang-native.bbclass
+++ b/meta/classes/toolchain/clang-native.bbclass
@@ -16,10 +16,3 @@ BUILD_READELF = "${BUILD_PREFIX}llvm-readelf"
16DEPENDS += "clang-native libcxx-native compiler-rt-native" 16DEPENDS += "clang-native libcxx-native compiler-rt-native"
17 17
18LDFLAGS += " --rtlib=libgcc --unwindlib=libgcc" 18LDFLAGS += " --rtlib=libgcc --unwindlib=libgcc"
19
20# Some systems can have mixed gcc development headers, such as pieces of both gcc 13
21# and 14 which can cause build failures, particularly if libgcc and libstdc++ for
22# gcc 13 are present but only libgcc for gcc 14 and not libstdc++ when the gcc
23# version is gcc 13. Force the gcc install that matches gcc itself
24BUILD_CFLAGS:append:class-native = " --gcc-install-dir=$(dirname $(gcc -print-libgcc-file-name))"
25BUILD_CXXFLAGS:append:class-native = " --gcc-install-dir=$(dirname $(gcc -print-libgcc-file-name))"