未验证 提交 30a51964 编写于 作者: 羽飞's avatar 羽飞 提交者: GitHub

设置ASAN默认为OFF,等所有相关issue都修复后,才能打开。

上级 b955826f
......@@ -55,7 +55,7 @@ SET(CMAKE_CXX_FLAGS ${CMAKE_COMMON_FLAGS})
SET(CMAKE_C_FLAGS ${CMAKE_COMMON_FLAGS})
MESSAGE("CMAKE_CXX_FLAGS is " ${CMAKE_CXX_FLAGS})
OPTION(ENABLE_ASAN "Enable build with address sanitizer" ON)
OPTION(ENABLE_ASAN "Enable build with address sanitizer" OFF)
IF (ENABLE_ASAN)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-omit-frame-pointer -fsanitize=address")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册