mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
cmake status message if MEMORY_DEBUG enabled
This commit is contained in:
committed by
Lorenz Meier
parent
924fb49bf5
commit
3f3a44fec5
@@ -659,6 +659,7 @@ function(px4_add_common_flags)
|
||||
endif()
|
||||
|
||||
if ($ENV{MEMORY_DEBUG} MATCHES "1")
|
||||
message(STATUS "address sanitizer enabled")
|
||||
set(max_optimization -Os)
|
||||
|
||||
set(optimization_flags
|
||||
|
||||
Reference in New Issue
Block a user