diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-03-09 12:29:06 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-11 06:26:59 -0700 |
commit | a3e8538a3829974d7708ce49675caa1fae0e434b (patch) | |
tree | f2b4e363086db0101cac02fd6ed50bd3f1a6c268 /meta | |
parent | 25e442ce105173505aadafcdad18455bd6dd462c (diff) | |
download | poky-a3e8538a3829974d7708ce49675caa1fae0e434b.tar.gz |
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
(From OE-Core rev: 784f4418259fe441060c134a7dcf305f4e0d4e2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/liburcu/liburcu_0.10.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/liburcu/liburcu_0.10.1.bb b/meta/recipes-support/liburcu/liburcu_0.10.1.bb index 0c8cd3571a..459c04a7a1 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 | |||
15 | 15 | ||
16 | S = "${WORKDIR}/userspace-rcu-${PV}" | 16 | S = "${WORKDIR}/userspace-rcu-${PV}" |
17 | inherit autotools | 17 | inherit autotools |
18 | |||
19 | CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" | ||