mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 09:00:35 +08:00
Fixed firmware name.
This commit is contained in:
@@ -551,7 +551,7 @@ function(px4_add_common_flags)
|
||||
endif()
|
||||
|
||||
set(c_compile_flags
|
||||
-g3
|
||||
-g
|
||||
-std=gnu99
|
||||
-fno-common
|
||||
)
|
||||
@@ -560,7 +560,7 @@ function(px4_add_common_flags)
|
||||
-Wno-missing-field-initializers
|
||||
)
|
||||
set(cxx_compile_flags
|
||||
-g3
|
||||
-g
|
||||
-fno-exceptions
|
||||
-fno-rtti
|
||||
-std=gnu++0x
|
||||
|
||||
@@ -123,7 +123,7 @@ set(main_link_flags
|
||||
px4_join(OUT main_link_flags LIST ${main_link_flags} GLUE " ")
|
||||
set_target_properties(${fw_io_name} PROPERTIES LINK_FLAGS ${main_link_flags})
|
||||
|
||||
set(io_fw_file ${CMAKE_CURRENT_BINARY_DIR}/${config_io_board}.px4)
|
||||
set(io_fw_file ${CMAKE_CURRENT_BINARY_DIR}/${fw-io_name}.px4)
|
||||
|
||||
target_link_libraries(${fw_io_name}
|
||||
-Wl,--start-group
|
||||
|
||||
Reference in New Issue
Block a user