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:
Michael Schaeuble
2016-10-18 16:26:53 +02:00
committed by Lorenz Meier
parent 43d8e5710c
commit 9bb230fa3d

View File

@@ -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")