mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 07:43:34 +08:00
NuttX and apps update 7.29
This commit is contained in:
@@ -66,9 +66,6 @@ function(px4_os_add_flags)
|
||||
${PX4_BINARY_DIR}/NuttX/apps/include
|
||||
)
|
||||
|
||||
# NuttX's disables inline below C99 (comiler.h), but __STDC_VERSION__ isn't set for C++
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-D__STDC_VERSION__=199901L>)
|
||||
|
||||
# prevent using the toolchain's std c++ library
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-nostdinc++>)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user