Patchwork [meta-oe,4/4] libgc: add PACKAGECONFIG for libatomic-ops

login
register
mail settings
Submitter Martin Jansa
Date July 1, 2014, 4:04 p.m.
Message ID <1404230681-5064-4-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/74533/
State Accepted, archived
Headers show

Comments

Martin Jansa - July 1, 2014, 4:04 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"