diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-08 08:39:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-08 08:39:24 +0100 |
commit | 4c325cab74d1b223a3da53ac74c4dd6f2edcffd0 (patch) | |
tree | f7b974d79f0cf293fb8e192b42cb226f5d3605ab /meta/classes | |
parent | 31b0710a350f0412ab964b14521e3279e88b1461 (diff) | |
download | poky-master-next.tar.gz |
fixupmaster-next
(From OE-Core rev: 7ee4fe8900f8911481d074505f431e3b924969f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/toolchain/clang-native.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/toolchain/clang-native.bbclass b/meta/classes/toolchain/clang-native.bbclass index c8b20ff8c4..7de7912582 100644 --- a/meta/classes/toolchain/clang-native.bbclass +++ b/meta/classes/toolchain/clang-native.bbclass | |||
@@ -21,5 +21,5 @@ LDFLAGS += " --rtlib=libgcc --unwindlib=libgcc" | |||
21 | # and 14 which can cause build failures, particularly if libgcc and libstdc++ for | 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 | 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 | 23 | # version is gcc 13. Force the gcc install that matches gcc itself |
24 | BUILD_CFLAGS:append:class-native = " --gcc-install-dir=$(dirname $(gcc -print-libgcc-file-name))" | 24 | BUILD_CFLAGS:append:class-native = " --gcc-install-dir=$(dirname $(gcc -print-file-name=libgcc_s.so))" |
25 | BUILD_CXXFLAGS:append:class-native = " --gcc-install-dir=$(dirname $(gcc -print-libgcc-file-name))" | 25 | BUILD_CXXFLAGS:append:class-native = " --gcc-install-dir=$(dirname $(gcc -print-file-name=libstdc++.so))" |