This repository was archived by the owner on Jan 17, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ set(CMAKE_C_STANDARD 17)
2323set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
2424
2525# Compiler flags
26- set (CMAKE_C_FLAGS_DEBUG "-g -O0 -Wall -Werror -Wno-unused-command-line-argument -Wno-implicit-fallthrough" )
27- set (CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Werror -Wno-sign-compare -Wno-unused-command-line-argument -Wno-implicit-fallthrough" )
28- set (CMAKE_C_FLAGS_RELEASE "-O3 -Wall -Werror -flto -Wno-unused-command-line-argument -Wno-implicit-fallthrough" )
29- set (CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -Werror -Wno-sign-compare -flto -Wno-unused-command-line-argument -Wno-implicit-fallthrough" )
26+ set (CMAKE_C_FLAGS_DEBUG "-g -O0 -Wall -Werror -Wno-unused-command-line-argument -Wno-implicit-fallthrough -Wno-unused-result " )
27+ set (CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Werror -Wno-sign-compare -Wno-unused-command-line-argument -Wno-implicit-fallthrough -Wno-unused-result " )
28+ set (CMAKE_C_FLAGS_RELEASE "-O3 -Wall -Werror -flto -Wno-unused-command-line-argument -Wno-implicit-fallthrough -Wno-unused-result " )
29+ set (CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -Werror -Wno-sign-compare -flto -Wno-unused-command-line-argument -Wno-implicit-fallthrough -Wno-unused-result " )
3030
3131# Prefer LLVM tools when using Clang (helps with -flto)
3232if (CMAKE_C_COMPILER_ID MATCHES "Clang" )
You can’t perform that action at this time.
0 commit comments