diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2017-06-02 17:36:31 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-05 14:36:19 +0200 |
commit | 72279edddd87e57bea7af3b3f776e92d01ce75ee (patch) | |
tree | c50958fa501d0424c36e1f99e8a6690023972a3e /package/libiio/0002-CMake-Test-tools-require-threads.patch | |
parent | 64da4fa9f14ca2adf8d12c627b240187c7097072 (diff) | |
download | buildroot-72279edddd87e57bea7af3b3f776e92d01ce75ee.tar.gz buildroot-72279edddd87e57bea7af3b3f776e92d01ce75ee.zip |
libiio: bump version to 0.10
Patch 0001 already included in this release:
https://github.com/analogdevicesinc/libiio/commit/913c2cc740d60450e91e066cf38f5654936a6015
Patch 0002 already included in this release:
https://github.com/analogdevicesinc/libiio/commit/6e5a40566ee44694b186d4c2cbcf5f8690d8bba4
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libiio/0002-CMake-Test-tools-require-threads.patch')
-rw-r--r-- | package/libiio/0002-CMake-Test-tools-require-threads.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/libiio/0002-CMake-Test-tools-require-threads.patch b/package/libiio/0002-CMake-Test-tools-require-threads.patch deleted file mode 100644 index 32c20236db..0000000000 --- a/package/libiio/0002-CMake-Test-tools-require-threads.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6e5a40566ee44694b186d4c2cbcf5f8690d8bba4 Mon Sep 17 00:00:00 2001 -From: Paul Cercueil <paul.cercueil@analog.com> -Date: Tue, 4 Apr 2017 11:25:37 +0200 -Subject: [PATCH] CMake: Test tools require threads - -If libiio was compiled without any backend enabled the build of the -tools would fail with undefined references to libpthread, at least on -Buildroot (strangely not on my Debian PC). - -Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> ---- - CMakeLists.txt | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 9c17273..cf92de3 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -36,6 +36,10 @@ endif() - option(WITH_NETWORK_BACKEND "Enable the network backend" ON) - option(WITH_TESTS "Build the test programs" ON) - -+if (WITH_TESTS) -+ set(NEED_THREADS 1) -+endif() -+ - if (MSVC) - # Avoid annoying warnings from Visual Studio - add_definitions(-D_CRT_SECURE_NO_WARNINGS=1) --- -2.11.0 - |