mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 03:23:35 +08:00
selectively increase optimization -Os -> -O2
- targetted at modules/libraries that benefit without drastically increasing flash usage - ignored on boards with CONSTRAINED_FLASH set
This commit is contained in:
@@ -32,4 +32,5 @@
|
||||
############################################################################
|
||||
|
||||
add_library(perf perf_counter.cpp)
|
||||
add_dependencies(perf prebuild_targets)
|
||||
add_dependencies(perf prebuild_targets)
|
||||
target_compile_options(perf PRIVATE ${MAX_CUSTOM_OPT_LEVEL})
|
||||
|
||||
Reference in New Issue
Block a user