Skip to content

Commit b8989ef

Browse files
committed
Add new toolchain for gcc-16 -- current trunk
1 parent 06fbe20 commit b8989ef

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

etc/gcc-16-toolchain.cmake

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
include_guard(GLOBAL)
2+
3+
include("${CMAKE_CURRENT_LIST_DIR}/gcc-flags.cmake")
4+
5+
set(CMAKE_C_COMPILER gcc-16)
6+
set(CMAKE_CXX_COMPILER g++-16)
7+
8+
set(CMAKE_CXX_FLAGS_ASAN
9+
"${CMAKE_CXX_FLAGS_ASAN} -Wno-maybe-uninitialized"
10+
CACHE STRING
11+
"C++ ASAN Flags"
12+
FORCE
13+
)

0 commit comments

Comments
 (0)