r362181 - [CMake][Fuchsia] Use libc++ ABI v2 on Darwin as well
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Thu May 30 18:16:43 PDT 2019
Author: phosek
Date: Thu May 30 18:16:43 2019
New Revision: 362181
URL: http://llvm.org/viewvc/llvm-project?rev=362181&view=rev
Log:
[CMake][Fuchsia] Use libc++ ABI v2 on Darwin as well
Since we share headers between host and target builds, we need to use
the same version for both.
Differential Revision: https://reviews.llvm.org/D62712
Modified:
cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
Modified: cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/cmake/caches/Fuchsia-stage2.cmake?rev=362181&r1=362180&r2=362181&view=diff
==============================================================================
--- cfe/trunk/cmake/caches/Fuchsia-stage2.cmake (original)
+++ cfe/trunk/cmake/caches/Fuchsia-stage2.cmake Thu May 30 18:16:43 2019
@@ -49,6 +49,7 @@ if(APPLE)
set(LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
set(LIBCXX_ENABLE_SHARED OFF CACHE BOOL "")
set(LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL "")
+ set(LIBCXX_ABI_VERSION 2 CACHE STRING "")
endif()
foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unknown-linux-gnu;x86_64-unknown-linux-gnu)
More information about the cfe-commits
mailing list