mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 02:49:40 +01:00
- Add fix-undefined-reference-to-pthread.patch to fix undefined reference to `pthread_create' (From OE-Core rev: f9ed35ec4aeca0a37e8b00a0b185abf1b87db0d1) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
839 B
Diff
28 lines
839 B
Diff
From cc0e2b403d33892963513a3ba98e4ae5a05a4d3c Mon Sep 17 00:00:00 2001
|
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Date: Sun, 12 Jun 2016 04:44:29 -0400
|
|
Subject: [PATCH] tests/Makefile.am: fix undefined reference to `pthread_create'
|
|
|
|
Add missing '-lpthread' to CFLAGS
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
---
|
|
tests/Makefile.am | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
|
index d462f30..bef6dd7 100644
|
|
--- a/tests/Makefile.am
|
|
+++ b/tests/Makefile.am
|
|
@@ -62,4 +62,4 @@ EXTRA_DIST = README rsa-16k.key cavs_tests.sh cavs_driver.pl \
|
|
|
|
LDADD = $(standard_ldadd) $(GPG_ERROR_LIBS)
|
|
t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS)
|
|
-t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS)
|
|
+t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread
|
|
--
|
|
2.8.1
|
|
|