diff options
Diffstat (limited to 'meta-oe/recipes-support/libunwind')
-rw-r--r-- | meta-oe/recipes-support/libunwind/libunwind.inc | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc b/meta-oe/recipes-support/libunwind/libunwind.inc index f028766b6f..2e1504e220 100644 --- a/meta-oe/recipes-support/libunwind/libunwind.inc +++ b/meta-oe/recipes-support/libunwind/libunwind.inc @@ -6,7 +6,21 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5" SRC_URI = "http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz" inherit autotools - EXTRA_OECONF_arm = "--enable-debug-frame" +CFLAGS += "${ATOMICOPS}" +ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1" +ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1" +ATOMICOPS ?= "" + +LDFLAGS += "${LIBATOMICS}" +LIBATOMICS_armv5 = "-latomic_ops" +LIBATOMICS_armv4 = "-latomic_ops" +LIBATOMICS ?= "" + +DEPENDS += "${DEPLIBATOMICS}" +DEPLIBATOMICS_armv5 = "libatomics-ops" +DEPLIBATOMICS_armv4 = "libatomics-ops" +DEPLIBATOMICS ?= "" + BBCLASSEXTEND = "native" |