summarylogtreecommitdiffstats
path: root/clang.toolchain.diff
blob: f25743566c92150f5fafc3137a826f79f1212582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/clang.toolchain	2023-07-28 15:55:33.000000000 +0300
+++ b/clang.toolchain	2023-07-31 03:33:43.218644908 +0300
@@ -1,13 +1,13 @@
-set(CMAKE_C_COMPILER clang-14)
-set(CMAKE_CXX_COMPILER clang++-14)
+set(CMAKE_C_COMPILER /usr/lib/llvm14/bin/clang)
+set(CMAKE_CXX_COMPILER /usr/lib/llvm14/bin/clang++)
 
 set(CMAKE_C_STANDARD_LIBRARIES "-lc -lm")
 set(CMAKE_CXX_STANDARD_LIBRARIES "-lc -lm")
 
-set(ENV{CC} clang-14)
-set(ENV{CXX} clang++-14)
+set(ENV{CC} /usr/lib/llvm14/bin/clang)
+set(ENV{CXX} /usr/lib/llvm14/bin/clang++)
 
-set(CMAKE_EXE_LINKER_FLAGS -fuse-ld=lld-14)
-set(CMAKE_SHARED_LINKER_FLAGS -fuse-ld=lld-14)
+set(CMAKE_EXE_LINKER_FLAGS -fuse-ld=lld)
+set(CMAKE_SHARED_LINKER_FLAGS -fuse-ld=lld)
 
 set(CMAKE_POSITION_INDEPENDENT_CODE On)