summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2017-08-16 04:31:19 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-18 10:40:27 +0100
commit80cecb6cc9a3765aeb8dd4060a4a994c2625a952 (patch)
tree687b97211403f043b288d3376e50e97737f9e051 /meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
parent70de26076f36205b914be1b1911e5fc0afd65edb (diff)
downloadpoky-80cecb6cc9a3765aeb8dd4060a4a994c2625a952.tar.gz
libgcrypt: 1.7.8 -> 1.8.0
Rebase patches: - add-pkgconfig-support.patch -> 0001 - libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch -> 0002 - fix-ICE-failure-on-mips-with-option-O-and-g.patch -> 0003 - fix-undefined-reference-to-pthread.patch -> 0004 (From OE-Core rev: b90037da8754009ca7cf2ab996b46b3dae1eb204) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch')
-rw-r--r--meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
new file mode 100644
index 0000000000..8622df3ea8
--- /dev/null
+++ b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
@@ -0,0 +1,28 @@
1From e20dbdb0b8f0af840ef90b299c4e2277c52ddf87 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 12 Jun 2016 04:44:29 -0400
4Subject: [PATCH 4/4] tests/Makefile.am: fix undefined reference to
5 `pthread_create'
6
7Add missing '-lpthread' to CFLAGS
8
9Upstream-Status: Pending
10
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12---
13 tests/Makefile.am | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/tests/Makefile.am b/tests/Makefile.am
17index 1744ea7..04cf425 100644
18--- a/tests/Makefile.am
19+++ b/tests/Makefile.am
20@@ -64,4 +64,4 @@ EXTRA_DIST = README rsa-16k.key cavs_tests.sh cavs_driver.pl \
21
22 LDADD = $(standard_ldadd) $(GPG_ERROR_LIBS)
23 t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS)
24-t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS)
25+t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread
26--
271.8.3.1
28