[oe-commits] [openembedded-core] 03/43: liburcu: Explicitly add pthread options to cflags
git at git.openembedded.org
git at git.openembedded.org
Sun Mar 11 13:27:22 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 784f4418259fe441060c134a7dcf305f4e0d4e2d
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Fri Mar 9 12:29:06 2018 -0800
liburcu: Explicitly add pthread options to cflags
Some architectures e.g. riscv gcc does not add -D_REENTRANT
when enabling pthreads. Help it here by adding these options
while gcc gets fixed
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-support/liburcu/liburcu_0.10.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-support/liburcu/liburcu_0.10.1.bb b/meta/recipes-support/liburcu/liburcu_0.10.1.bb
index 0c8cd35..459c04a 100644
--- a/meta/recipes-support/liburcu/liburcu_0.10.1.bb
+++ b/meta/recipes-support/liburcu/liburcu_0.10.1.bb
@@ -15,3 +15,5 @@ SRC_URI[sha256sum] = "9c09220be4435dc27fcd22d291707b94b97f159e0c442fbcd60c168f8f
S = "${WORKDIR}/userspace-rcu-${PV}"
inherit autotools
+
+CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list