summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-07-31 21:22:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-07 12:11:15 +0100
commitd77397719e4310db2b06556d0b0b26291214905d (patch)
tree8170b5554373ae7e4efd144cad10e83ab0b64bd9 /meta
parent98146233872497f14197af12133aebaf8dcda4f2 (diff)
downloadpoky-d77397719e4310db2b06556d0b0b26291214905d.tar.gz
toolchain/clang-native: Set BUILD_LDFLAGS instead of LDFLAGS
BUILD_LDFLAGS is used by other recipes to emit native LDFLAGS into their cmake toolchain files especially in QT layers. it will usually be inherited by recipes wanting clang provide BUILD_* variables so this is more appropriate than LDFLAGS to pass these options. (From OE-Core rev: f258d6e437a68bfd8a46f185cbeb17bfcccf940b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/toolchain/clang-native.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/toolchain/clang-native.bbclass b/meta/classes/toolchain/clang-native.bbclass
index 4de491a1cb..006be9fadd 100644
--- a/meta/classes/toolchain/clang-native.bbclass
+++ b/meta/classes/toolchain/clang-native.bbclass
@@ -15,4 +15,4 @@ BUILD_READELF = "${BUILD_PREFIX}llvm-readelf"
15 15
16DEPENDS += "clang-native libcxx-native compiler-rt-native" 16DEPENDS += "clang-native libcxx-native compiler-rt-native"
17 17
18LDFLAGS += " --rtlib=libgcc --unwindlib=libgcc" 18BUILD_LDFLAGS += " --rtlib=libgcc --unwindlib=libgcc"