Patchwork [daisy,5/5] libgc: add PACKAGECONFIG for libatomic-ops

login
register
mail settings
Submitter Martin Jansa
Date Aug. 12, 2014, 12:25 p.m.
Message ID <b90153d5981990ea9910c417a868fb26e7e264a4.1407846175.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/78001/
State Accepted, archived
Headers show

Comments

Martin Jansa - Aug. 12, 2014, 12:25 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/libgc/libgc_7.2d.bb | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta-oe/recipes-support/libgc/libgc_7.2d.bb b/meta-oe/recipes-support/libgc/libgc_7.2d.bb
index b472a5d..66e6b92 100644
--- a/meta-oe/recipes-support/libgc/libgc_7.2d.bb
+++ b/meta-oe/recipes-support/libgc/libgc_7.2d.bb
@@ -16,5 +16,9 @@  S = "${WORKDIR}/gc-7.2"
 
 inherit autotools
 
+# by default use external libatomic-ops
+PACKAGECONFIG ??= "libatomic-ops"
+PACKAGECONFIG[libatomic-ops] = "--with-libatomic-ops=yes,--with-libatomic-ops=no,libatomics-ops"
+
 PACKAGES =+ "${PN}-docs"
 FILES_${PN}-docs = "/usr/share/gc"