mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Remove obsolete linker flag for Bebop build
The pthread linker flags were changed in c6a2641 and it was questioned in #5504 if the
exception for the Bebop is necessary. It is not, so remove those lines from the cmake
file.
This commit is contained in:
committed by
Lorenz Meier
parent
43d8e5710c
commit
9bb230fa3d
@@ -174,16 +174,6 @@ function(px4_os_add_flags)
|
||||
mavlink/include/mavlink
|
||||
)
|
||||
|
||||
# This block sets added_exe_linker_flags.
|
||||
if ("${BOARD}" STREQUAL "bebop")
|
||||
# Use the -pthread if the firmware is build for the parrot bebop.
|
||||
# This resolves some linker errors in DriverFramework, when building
|
||||
# a static target.
|
||||
set(added_exe_linker_flags "-pthread")
|
||||
else()
|
||||
set(added_exe_linker_flags)
|
||||
endif()
|
||||
|
||||
# This block sets added_definitions and added_cxx_flags.
|
||||
if(UNIX AND APPLE)
|
||||
set(added_definitions
|
||||
@@ -228,6 +218,8 @@ else()
|
||||
|
||||
endif()
|
||||
|
||||
set(added_exe_linker_flags)
|
||||
|
||||
# This block sets added_c_flags (appends to others).
|
||||
if ("${BOARD}" STREQUAL "eagle" OR "${BOARD}" STREQUAL "excelsior")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user