forked from Archive/PX4-Autopilot
cmake status message if MEMORY_DEBUG enabled
This commit is contained in:
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
|
||||
|
|
Loading…
Reference in New Issue