mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-26 16:28:06 +08:00
update C++ standard (c++11 -> c++14)
- temporarily disable snapdragon builds until toolchain is updated
This commit is contained in:
@@ -67,6 +67,8 @@ function(px4_os_add_flags)
|
||||
# prevent using the toolchain's std c++ library
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-nostdinc++>)
|
||||
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fno-sized-deallocation>)
|
||||
|
||||
add_definitions(
|
||||
-D__PX4_NUTTX
|
||||
|
||||
|
||||
Reference in New Issue
Block a user