diff --git a/cmake/common/px4_base.cmake b/cmake/common/px4_base.cmake index e13dc023da..6d10100905 100644 --- a/cmake/common/px4_base.cmake +++ b/cmake/common/px4_base.cmake @@ -371,6 +371,7 @@ function(px4_add_common_flags) -funsafe-math-optimizations -ffunction-sections -fdata-sections + -fno-math-errno ${PIC_FLAG} )