mirror of
https://github.com/emqx/neuron.git
synced 2026-10-21 00:36:23 +08:00
ci: compile optimization with O1
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ endif()
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_C_FLAGS "$ENV{CFLAGS} -Wall -Werror -Wextra -g")
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS} -O2")
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS} -O1")
|
||||
set(CMAKE_C_FLAGS_DEBUG
|
||||
"${CMAKE_C_FLAGS} -O0 -fsanitize=address \
|
||||
-fsanitize-recover=address -fsanitize-address-use-after-scope \
|
||||
|
||||
Reference in New Issue
Block a user