diff --git a/cmake/common/px4_base.cmake b/cmake/common/px4_base.cmake index 19839892bc..fa34b1584d 100644 --- a/cmake/common/px4_base.cmake +++ b/cmake/common/px4_base.cmake @@ -534,6 +534,7 @@ function(px4_add_common_flags) set(optimization_flags -fno-strict-aliasing + -fomit-frame-pointer -funsafe-math-optimizations -ffunction-sections -fdata-sections