mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 07:31:36 +08:00
cmake add -Wmissing-field-initializers and a few others
This commit is contained in:
committed by
Nuno Marques
parent
d3ed773838
commit
35e15ed540
@@ -225,7 +225,7 @@ function(px4_os_add_flags)
|
||||
endif()
|
||||
|
||||
# Add the toolchain specific flags
|
||||
set(added_cflags ${POSIX_CMAKE_C_FLAGS} --sysroot=${HEXAGON_ARM_SYSROOT})
|
||||
set(added_c_flags ${POSIX_CMAKE_C_FLAGS} --sysroot=${HEXAGON_ARM_SYSROOT})
|
||||
|
||||
list(APPEND added_cxx_flags
|
||||
${POSIX_CMAKE_CXX_FLAGS}
|
||||
@@ -248,7 +248,7 @@ function(px4_os_add_flags)
|
||||
|
||||
# Add the toolchain specific flags
|
||||
|
||||
set(added_cflags ${POSIX_CMAKE_C_FLAGS} --sysroot=${HEXAGON_ARM_SYSROOT}/lib32-apq8096 -mfloat-abi=softfp -mfpu=neon -mthumb-interwork)
|
||||
set(added_c_flags ${POSIX_CMAKE_C_FLAGS} --sysroot=${HEXAGON_ARM_SYSROOT}/lib32-apq8096 -mfloat-abi=softfp -mfpu=neon -mthumb-interwork)
|
||||
|
||||
list(APPEND added_cxx_flags
|
||||
${POSIX_CMAKE_CXX_FLAGS}
|
||||
|
||||
Reference in New Issue
Block a user