[lldb-dev] lldb messes up CLANG_RESOURCE_DIR

İsmail Dönmez ismail at donmez.ws
Thu Mar 13 04:08:30 PDT 2014


I build clang with -DCLANG_RESOURCE_DIR=../lib64/clang/%{version}/include
so that it looks for headers under /usr/lib64 instead of /usr/lib. This
used to work fine but after checking lldb under tools directory along with
clang, it no longer uses the CLANG_RESOURCE_DIR to look for headers hence
-ffreestanding option is totally broken.

If I rm -rf tools/lldb everything works fine, so somehow lldb cmake files
getting in the way. Wondering if anyone experienced this before?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140313/e0f05114/attachment.html>

More information about the lldb-dev mailing list