<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Yes, the CMake variable to use is LIBCXX_CXX_ABI.  For FreeBSD, I always set it to -D LIBCXX_CXX_ABI=libcxxrt, and optionally I also set -D LIBCXX_CXX_ABI_INCLUDE_PATHS.<div class=""><br class=""></div><div class="">-Dimitry<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 30 Aug 2018, at 16:09, Louis Dionne via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I do think the documentation is correct. libcxx/CMakeLists.txt:166 actually sets LIBCXX_CXX_ABI_LIBNAME from LIBCXX_CXX_ABI. My understanding is that LIBCXX_CXX_ABI_LIBNAME is an internal variable and LIBCXX_CXX_ABI is the (documented) user-facing setting. I can take a look if you can provide a reproducer (setting LIBCXX_CXX_ABI and it not working).<div class=""><br class=""></div><div class="">Louis<br class=""><div class=""><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Aug 25, 2018, at 10:04, Andrew Brownsword via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class="">It appears that the option LIBCXX_CXX_ABI_LIBNAME is incorrectly mentioned repeatedly as LIBCXX_CXX_ABI on this webpage:  <a href="https://libcxx.llvm.org/docs/BuildingLibcxx.html#abi-library-specific-options" class="">https://libcxx.llvm.org/docs/BuildingLibcxx.html#abi-library-specific-options</a><br class=""><div class=""><br class=""></div><div class="">The build wasn’t working for me until I looked into the cmake module and noticed that it was checking the longer name.</div><div class=""><br class=""></div></div>_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class=""><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class=""></div></blockquote></div><br class=""></div></div></div></div>_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br class=""></div></blockquote></div><br class=""></div></body></html>