1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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>
This commit is contained in:
Khem Raj
2018-03-09 12:29:06 -08:00
committed by Richard Purdie
parent 25e442ce10
commit a3e8538a38
@@ -15,3 +15,5 @@ SRC_URI[sha256sum] = "9c09220be4435dc27fcd22d291707b94b97f159e0c442fbcd60c168f8f
S = "${WORKDIR}/userspace-rcu-${PV}"
inherit autotools
CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT"