summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libunwind
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-06-07 15:10:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-09 17:12:05 +0100
commitf2efadab8b1ab1c50584a39908673e1a6717f753 (patch)
treef254529ab6a0e76e4694d3678f6fdb0063792556 /meta/recipes-support/libunwind
parent69c922764bbce8dc3df685b5677c6a4b766d40b7 (diff)
downloadopenembedded-core-f2efadab8b1ab1c50584a39908673e1a6717f753.tar.gz
openembedded-core-f2efadab8b1ab1c50584a39908673e1a6717f753.tar.bz2
openembedded-core-f2efadab8b1ab1c50584a39908673e1a6717f753.zip
libunwind: don't mess around with ARM atomic detection
This recipe explictly sets -DAO_USE_PTHREAD_DEFS on ARM, but with libunwind 1.2 this causes the linker to fail: hidden symbol `__sync_synchronize' in libgcc.a(linux-atomic.o) is referenced by DSO Removing these defines lets configure do the right thing and build libunwind. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/libunwind')
-rw-r--r--meta/recipes-support/libunwind/libunwind.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc
index 4f64ad7f87..fc33786b9e 100644
--- a/meta/recipes-support/libunwind/libunwind.inc
+++ b/meta/recipes-support/libunwind/libunwind.inc
@@ -13,11 +13,6 @@ PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz"
EXTRA_OECONF_arm = "--enable-debug-frame"
EXTRA_OECONF_aarch64 = "--enable-debug-frame"
-CFLAGS += "${ATOMICOPS}"
-ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1"
-ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1"
-ATOMICOPS ?= ""
-
SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp"
BBCLASSEXTEND = "native"