package/librtlsdr: drop cmake workaround
Drop workaround for cmake < 3.10 (not needed since commit
d4773b610a
)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
128e5e61c7
commit
7f225d1936
@ -34,15 +34,4 @@ else
|
||||
LIBRTLSDR_CONF_OPTS += -DENABLE_ZEROCOPY=OFF
|
||||
endif
|
||||
|
||||
# In case of static-lib-only builds, CMake's FindThreads.cmake code tries to
|
||||
# get the right flags, checking first for -lpthreads, then -lpthread, and lastly
|
||||
# for -pthread.
|
||||
# The 2 first link checks fail because of undefined symbols: __libc_setup_tls.
|
||||
# In the later check, CMake successfully compiles and links the test program,
|
||||
# but it also tries to run it, which is wrong when cross-compiling.
|
||||
#
|
||||
# The following CMake variable only disables the TRY_RUN call in the -pthread
|
||||
# test.
|
||||
LIBRTLSDR_CONF_OPTS += -DTHREADS_PTHREAD_ARG=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user