mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1255211 - Add profiledata to the list of LLVM libraries used by the clang plugin; r=jrmuizel
This library is needed for linking the clang plugin on Windows with the trunk clang.
This commit is contained in:
parent
d1f112a81b
commit
8d56a4a75f
@ -43,7 +43,7 @@ if test -n "$ENABLE_CLANG_PLUGIN"; then
|
||||
dnl failure here is benign, so we can ignore it if it happens.
|
||||
dnl Use tr instead of xargs in order to avoid problems with path separators on Windows.
|
||||
LLVM_LDFLAGS=`$LLVMCONFIG --system-libs | tr '\n' ' '`
|
||||
LLVM_LDFLAGS="$LLVM_LDFLAGS `$LLVMCONFIG --ldflags --libs core mc analysis asmparser mcparser bitreader option | tr '\n' ' '`"
|
||||
LLVM_LDFLAGS="$LLVM_LDFLAGS `$LLVMCONFIG --ldflags --libs core mc analysis asmparser mcparser bitreader option profiledata | tr '\n' ' '`"
|
||||
|
||||
if test "${HOST_OS_ARCH}" = "Darwin"; then
|
||||
CLANG_LDFLAGS="-lclangFrontend -lclangDriver -lclangSerialization"
|
||||
|
Loading…
Reference in New Issue
Block a user