diff options
-rw-r--r-- | recipes-devtools/clang/clang/0033-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-devtools/clang/clang/0033-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch b/recipes-devtools/clang/clang/0033-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch index 4ca259b..37fa818 100644 --- a/recipes-devtools/clang/clang/0033-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch +++ b/recipes-devtools/clang/clang/0033-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch | |||
@@ -35,7 +35,7 @@ new file mode 100644 | |||
35 | index 000000000000..6a0dd54b8eab | 35 | index 000000000000..6a0dd54b8eab |
36 | --- /dev/null | 36 | --- /dev/null |
37 | +++ b/llvm/tools/llvm-config/llvm-config | 37 | +++ b/llvm/tools/llvm-config/llvm-config |
38 | @@ -0,0 +1,52 @@ | 38 | @@ -0,0 +1,55 @@ |
39 | +#!/bin/bash | 39 | +#!/bin/bash |
40 | +# | 40 | +# |
41 | +# Wrapper script for llvm-config. Supplies the right environment variables | 41 | +# Wrapper script for llvm-config. Supplies the right environment variables |
@@ -68,6 +68,9 @@ index 000000000000..6a0dd54b8eab | |||
68 | + --cxxflags) | 68 | + --cxxflags) |
69 | + output="${output} ${CXXFLAGS}" | 69 | + output="${output} ${CXXFLAGS}" |
70 | + ;; | 70 | + ;; |
71 | + --libdir) | ||
72 | + output="${output} ${libdir}" | ||
73 | + ;; | ||
71 | + --ldflags) | 74 | + --ldflags) |
72 | + output="${output} ${LDFLAGS}" | 75 | + output="${output} ${LDFLAGS}" |
73 | + ;; | 76 | + ;; |