diff --git a/src/drivers/dshot/CMakeLists.txt b/src/drivers/dshot/CMakeLists.txt index 58f2894f88..ddc9a50e22 100644 --- a/src/drivers/dshot/CMakeLists.txt +++ b/src/drivers/dshot/CMakeLists.txt @@ -42,6 +42,7 @@ px4_add_module( MAIN dshot COMPILE_FLAGS -DPARAM_PREFIX="${PARAM_PREFIX}" + -fno-use-cxa-atexit # -DDEBUG_BUILD SRCS DShot.cpp