mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 06:23:33 +08:00
update C++ standard (c++11 -> c++14)
- temporarily disable snapdragon builds until toolchain is updated
This commit is contained in:
@@ -109,7 +109,7 @@ CFLAGS = $(ARCHINCLUDES) \
|
||||
-Wno-type-limits
|
||||
|
||||
CXXFLAGS = $(ARCHXXINCLUDES) \
|
||||
-std=gnu++11 \
|
||||
-std=c++14 \
|
||||
-nostdinc++ \
|
||||
${CMAKE_CXX_FLAGS} \
|
||||
$(FLAGS) \
|
||||
@@ -117,6 +117,7 @@ CXXFLAGS = $(ARCHXXINCLUDES) \
|
||||
-fno-builtin \
|
||||
-fno-exceptions \
|
||||
-fno-rtti \
|
||||
-fno-sized-deallocation \
|
||||
-nostdinc++ \
|
||||
-Wno-double-promotion \
|
||||
-Wno-missing-declarations
|
||||
|
||||
Reference in New Issue
Block a user