diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-05-08 12:13:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-12 22:01:56 +0100 |
commit | 1cae6faf9d8f62a88e331503cec808fc6535fdcb (patch) | |
tree | 4df642206638d1125575b27b51e618ce3c37a45a /scripts/lib/scriptutils.py | |
parent | 77c0cff6a7ba8b5ce26cbb0f569bf3b0c164443d (diff) | |
download | poky-1cae6faf9d8f62a88e331503cec808fc6535fdcb.tar.gz |
libcxx: Fix cflags and ldflags for using compiler runtime
-stdlib is needed in both cxxflags and ldflags since c++ compiler
will use these to chose the right c++ headers and libraries during link
-rtlib and -unwindlib are only needed during linking
Use LLVM_HOST_TRIPLE during cross compiling compiler-rt for target
this is used by cmake to compute target and compiler triples
Fix LLVM_RUNTIME_TARGETS to use HOST_ARCH, it does not need cross
compile triple which HOST_SYS is passing here
(From OE-Core rev: d1ae4087c548a78e90687b64764f621b070e3ec5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions