aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Talashchenko <62995184+pavelbezpravel@users.noreply.github.com>2024-03-06 14:13:40 +0300
committerGitHub <noreply@github.com>2024-03-06 12:13:40 +0100
commitda71f95f6cb907d68ee01a9d8c25a4403d147850 (patch)
tree09110102416c734142c628360a135520025c0737
parent6a40243a1fd7b6b39723f4b66f9e6fe7bd522f3f (diff)
downloadydb-da71f95f6cb907d68ee01a9d8c25a4403d147850.tar.gz
maintenance: fix typo (#492)
-rw-r--r--clang.toolchain8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang.toolchain b/clang.toolchain
index 661ccb7b00..ae7b2ff734 100644
--- a/clang.toolchain
+++ b/clang.toolchain
@@ -5,12 +5,12 @@ set(CMAKE_SHARED_LINKER_FLAGS "-fuse-ld=lld")
set(CMAKE_C_STANDARD_LIBRARIES "-lc -lm")
set(CMAKE_CXX_STANDARD_LIBRARIES "-lc -lm")
if (CCACHE_PATH)
- set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PATH}" CACHE STRING "C++ compiler launcher")
- set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PATH}" CACHE STRING "C compiler launcher")
+ set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PATH}" CACHE STRING "C compiler launcher")
+ set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PATH}" CACHE STRING "C++ compiler launcher")
endif()
-set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -UNDEBUG" CACHE STRING "C++ compiler flags")
-set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -UNDEBUG" CACHE STRING "C compiler flags")
+set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -UNDEBUG" CACHE STRING "C compiler flags")
+set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -UNDEBUG" CACHE STRING "C++ compiler flags")
set(ENV{CC} clang-14)
set(ENV{CXX} clang++-14)