diff options
author | Konstantin Varlamov <varconsteq@gmail.com> | 2023-11-08 13:16:01 -1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 13:16:01 -1000 |
commit | 4a9c71b8c2d01bf4efacf488d46ed2d92e71f355 (patch) | |
tree | 15680d3f875f58308b96aec5c771c8efdf38b7fa /clang/cmake | |
parent | 950f68991fbdf3921eeab732526984b01f8dd27e (diff) | |
download | llvm-4a9c71b8c2d01bf4efacf488d46ed2d92e71f355.zip llvm-4a9c71b8c2d01bf4efacf488d46ed2d92e71f355.tar.gz llvm-4a9c71b8c2d01bf4efacf488d46ed2d92e71f355.tar.bz2 |
[libc++][hardening] Fix references to old names for hardening modes (#71743)
This should fix some builds broken by
https://github.com/llvm/llvm-project/pull/70575
Diffstat (limited to 'clang/cmake')
-rw-r--r-- | clang/cmake/caches/Fuchsia-stage2.cmake | 2 | ||||
-rw-r--r-- | clang/cmake/caches/Fuchsia.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake index a4d2926..4b9085d 100644 --- a/clang/cmake/caches/Fuchsia-stage2.cmake +++ b/clang/cmake/caches/Fuchsia-stage2.cmake @@ -81,7 +81,7 @@ if(APPLE) set(LIBCXX_ABI_VERSION 2 CACHE STRING "") set(LIBCXX_ENABLE_SHARED OFF CACHE BOOL "") set(LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL "") - set(LIBCXX_HARDENING_MODE "unchecked" CACHE STRING "") + set(LIBCXX_HARDENING_MODE "none" CACHE STRING "") set(LIBCXX_USE_COMPILER_RT ON CACHE BOOL "") set(RUNTIMES_CMAKE_ARGS "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13;-DCMAKE_OSX_ARCHITECTURES=arm64|x86_64" CACHE STRING "") endif() diff --git a/clang/cmake/caches/Fuchsia.cmake b/clang/cmake/caches/Fuchsia.cmake index 4c9cd12..dad434b 100644 --- a/clang/cmake/caches/Fuchsia.cmake +++ b/clang/cmake/caches/Fuchsia.cmake @@ -116,7 +116,7 @@ else() set(LIBCXX_ABI_VERSION 2 CACHE STRING "") set(LIBCXX_ENABLE_SHARED OFF CACHE BOOL "") set(LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL "") - set(LIBCXX_HARDENING_MODE "unchecked" CACHE STRING "") + set(LIBCXX_HARDENING_MODE "none" CACHE STRING "") set(LIBCXX_USE_COMPILER_RT ON CACHE BOOL "") set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "") set(RUNTIMES_CMAKE_ARGS "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13;-DCMAKE_OSX_ARCHITECTURES=arm64|x86_64" CACHE STRING "") |