summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2023-05-12 13:56:48 +0800
committerKhem Raj <raj.khem@gmail.com>2023-05-19 09:23:57 -0700
commit0d54bee70e2f368c5bf63f68f9dca8c1d4e9dced (patch)
treed212d2527099aa0c8e3abc1e21753dc8f67d9d02
parent1e0af2f5bb797d7bb639c2ac03c1248cc8d00bc9 (diff)
downloadmeta-clang-0d54bee70e2f368c5bf63f68f9dca8c1d4e9dced.tar.gz
llvm-config: add --libfiles option
--libfiles Fully qualified library filenames for makefile depends. This option is being used by ispc cmake. https://github.com/ispc/ispc/blob/main/cmake/FindLLVM.cmake#L116 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> (cherry picked from commit c31fa8b367b4af4922120fe8e28d255ff4ebf256) Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
-rw-r--r--recipes-devtools/clang/clang/llvm-config5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang/llvm-config b/recipes-devtools/clang/clang/llvm-config
index 88a1908..a9876a2 100644
--- a/recipes-devtools/clang/clang/llvm-config
+++ b/recipes-devtools/clang/clang/llvm-config
@@ -22,6 +22,11 @@ if [[ $1 == "--bindir" ]]; then
22 exec "$NEXT_LLVM_CONFIG" $@ 22 exec "$NEXT_LLVM_CONFIG" $@
23fi 23fi
24 24
25if [[ $1 == "--libfiles" ]]; then
26 exec "$NEXT_LLVM_CONFIG" $@
27fi
28
29
25for arg in "$@"; do 30for arg in "$@"; do
26 case "$arg" in 31 case "$arg" in
27 --cppflags) 32 --cppflags)