kraj / meta-clang

Clang C/C++ cross compiler and runtime for OpenEmbedded/Yocto Project
MIT License
152 stars 196 forks source link

llvm-config: update following the oe-core script #897

Closed lumag closed 6 months ago

lumag commented 7 months ago

The Mesa Clover meson.build script passes two options to llvm-config script, --libs --ldflags. The script from meta-clang passes control to the native llvm-config script, which unfortunately results in the native dynamic linker option leaking to the cross build. Fix that by adopting the approach from OE-core and filter known options before calling into the native llvm-config.


Contributor checklist

Reviewer Guidelines