mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 16:03:33 +08:00
qurt: Added patch for Eigen to use latest version
Updated to 7.2 Hexagon toolchain Fixed issuse with stack usage Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -486,7 +486,6 @@ function(px4_add_common_flags)
|
||||
-Wextra
|
||||
#-Wshadow # very verbose due to eigen
|
||||
-Wfloat-equal
|
||||
-Wframe-larger-than=1024
|
||||
-Wpointer-arith
|
||||
-Wmissing-declarations
|
||||
-Wpacked
|
||||
@@ -506,6 +505,10 @@ function(px4_add_common_flags)
|
||||
# but generates too many false positives
|
||||
)
|
||||
|
||||
if (NOT ${OS} STREQUAL "qurt")
|
||||
list(APPEND warnings -Wframe-larger-than=1024)
|
||||
endif()
|
||||
|
||||
if (${CMAKE_C_COMPILER_ID} STREQUAL "Clang")
|
||||
list(APPEND warnings
|
||||
-Wno-unused-const-variable
|
||||
@@ -609,11 +612,9 @@ function(px4_add_common_flags)
|
||||
${CMAKE_SOURCE_DIR}/mavlink/include/mavlink
|
||||
)
|
||||
|
||||
if (NOT ${OS} STREQUAL "qurt")
|
||||
list(APPEND added_include_dirs
|
||||
${CMAKE_SOURCE_DIR}/src/lib/eigen
|
||||
)
|
||||
endif()
|
||||
list(APPEND added_include_dirs
|
||||
src/lib/eigen
|
||||
)
|
||||
|
||||
set(added_link_dirs) # none used currently
|
||||
|
||||
|
||||
Reference in New Issue
Block a user