diff --git a/cmake/common/px4_base.cmake b/cmake/common/px4_base.cmake index 6d10100905..8b5204fc7d 100644 --- a/cmake/common/px4_base.cmake +++ b/cmake/common/px4_base.cmake @@ -372,6 +372,7 @@ function(px4_add_common_flags) -ffunction-sections -fdata-sections -fno-math-errno + -fmerge-all-constants ${PIC_FLAG} )