]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
llvm: remove LLVM_LDFLAGS from llvm-config --ldflags output
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Thu, 10 Apr 2025 02:54:45 +0000 (05:54 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Apr 2025 10:44:18 +0000 (11:44 +0100)
commita93d2bdf5c0cf1c2c08d99fd4ccd8d1aae0e0ba5
tree134e26c55596a3a912e89f38eb925e065d06fa8d
parent4d4b02d28c8c5807c2a90402c1239ed2581eb884
llvm: remove LLVM_LDFLAGS from llvm-config --ldflags output

On native OE builds the LLVM_LDFLAGS gets a lot of extra flags which may
depend on exact build dir and as such be inappropriate to binaries
shared through sstate-cache. It is not possible to override this
behaviour in llvm-config since crossscripts are not being used for
native builds. Ignore LLVM_LDFLAGS for native builds.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/llvm/llvm/0001-llvm-config-remove-LLVM_LDFLAGS-from-ldflags-output.patch [new file with mode: 0644]
meta/recipes-devtools/llvm/llvm_20.1.2.bb