diff --git a/cmake/common/px4_base.cmake b/cmake/common/px4_base.cmake index 1c461ec282..8f7ebcf048 100644 --- a/cmake/common/px4_base.cmake +++ b/cmake/common/px4_base.cmake @@ -643,6 +643,7 @@ function(px4_add_common_flags) set(cxx_compile_flags -g -fno-exceptions + -fcheck-new -fno-rtti -std=gnu++0x -fno-threadsafe-statics