Skip to content
Snippets Groups Projects
Commit 9bb230fa authored by Michael Schaeuble's avatar Michael Schaeuble Committed by Lorenz Meier
Browse files

Remove obsolete linker flag for Bebop build

The pthread linker flags were changed in c6a26415 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.
parent 43d8e571
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment