summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-05-05 22:24:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-10 09:56:19 +0100
commit4401c942a82975441bc4d7b3c30dfc1433807579 (patch)
tree0f5b46afc10ee75537ec861394df650fd0aa8850 /meta/recipes-support
parent3fbb7b5879c218e65d35bae038def64abb7bf529 (diff)
downloadpoky-4401c942a82975441bc4d7b3c30dfc1433807579.tar.gz
liburcu_0.5.4.bb: Let it build on uclibc targets
uclibc requires -D_GNU_SOURCE to be defined for it to enable GNU extensions which CPU_SET/CPU_ZERO are used by this package. So we add -D_GNU_SOURCE to CFLAGS when compiling for uclibc. (From OE-Core rev: fdbcf8eea9d83a8040157d8a5bb6febae5eb9a14) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/liburcu/liburcu_0.5.4.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/liburcu/liburcu_0.5.4.bb b/meta/recipes-support/liburcu/liburcu_0.5.4.bb
index 8e17e5db1c..b83d708809 100644
--- a/meta/recipes-support/liburcu/liburcu_0.5.4.bb
+++ b/meta/recipes-support/liburcu/liburcu_0.5.4.bb
@@ -15,7 +15,7 @@ SRC_URI[md5sum] = "04147d24749be75200173859839207f7"
15SRC_URI[sha256sum] = "02aedbb16c16bd034e246d5c9637a9232be559c66fc2fe4eb28948e234bd89f1" 15SRC_URI[sha256sum] = "02aedbb16c16bd034e246d5c9637a9232be559c66fc2fe4eb28948e234bd89f1"
16 16
17S = "${WORKDIR}/userspace-rcu-${PV}" 17S = "${WORKDIR}/userspace-rcu-${PV}"
18 18CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"
19inherit autotools 19inherit autotools
20 20
21# liburcu, which is only used by lttng-ust, may not build on other 21# liburcu, which is only used by lttng-ust, may not build on other