mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08: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()
|
endif()
|
||||||
|
|
||||||
if ($ENV{MEMORY_DEBUG} MATCHES "1")
|
if ($ENV{MEMORY_DEBUG} MATCHES "1")
|
||||||
|
message(STATUS "address sanitizer enabled")
|
||||||
set(max_optimization -Os)
|
set(max_optimization -Os)
|
||||||
|
|
||||||
set(optimization_flags
|
set(optimization_flags
|
||||||
|
|||||||
Reference in New Issue
Block a user