Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/7] toolchain/clang-native: Set BUILD_LDFLAGS instead of LDFLAGS
@ 2025-08-01  4:22 Khem Raj
  2025-08-01  4:22 ` [PATCH 2/7] cargo-c: Update patches to latest versions Khem Raj
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Khem Raj @ 2025-08-01  4:22 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/toolchain/clang-native.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/toolchain/clang-native.bbclass b/meta/classes/toolchain/clang-native.bbclass
index 4de491a1cb5..006be9fadd6 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"
 
 DEPENDS += "clang-native libcxx-native compiler-rt-native"
 
-LDFLAGS += " --rtlib=libgcc --unwindlib=libgcc"
+BUILD_LDFLAGS += " --rtlib=libgcc --unwindlib=libgcc"


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-08-11 16:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-01  4:22 [PATCH 1/7] toolchain/clang-native: Set BUILD_LDFLAGS instead of LDFLAGS Khem Raj
2025-08-01  4:22 ` [PATCH 2/7] cargo-c: Update patches to latest versions Khem Raj
2025-08-01  4:22 ` [PATCH 3/7] libxcrypt: Allow undefined symbols in version scripts with lld linker Khem Raj
2025-08-07  9:57   ` [OE-core] " Alexander Kanavin
2025-08-07 20:18     ` Khem Raj
2025-08-11  8:17       ` Alexander Kanavin
2025-08-11 15:23         ` Khem Raj
2025-08-01  4:22 ` [PATCH 4/7] libtirpc: " Khem Raj
2025-08-01  4:22 ` [PATCH 5/7] gzip: Always use GNU ld for linking Khem Raj
2025-08-11 16:47   ` [OE-core] " Randy MacLeod
2025-08-01  4:22 ` [PATCH 6/7] binutils-cross-canadian: Always use GNU linker Khem Raj
2025-08-01  4:22 ` [PATCH 7/7] fmt: Fix build with clang-21 Khem Raj
2025-08-01 12:54 ` [OE-core] [PATCH 1/7] toolchain/clang-native: Set BUILD_LDFLAGS instead of LDFLAGS Mathieu Dubois-Briand
2025-08-01 16:13   ` Mathieu Dubois-Briand
2025-08-01 16:24     ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox