diff mbox series

libunwind: Fix build with musl+security flags

Message ID 20180814192134.43536-1-raj.khem@gmail.com
State Accepted
Commit 43894faa45884dcc3b6111ed67e1a96fbec019a8
Headers show
Series libunwind: Fix build with musl+security flags | expand

Commit Message

Khem Raj Aug. 14, 2018, 7:21 p.m. UTC
Fixes
src/os-linux.c:63: undefined reference to `__stack_chk_fail_local'

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-support/libunwind/libunwind_1.2.1.bb | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.18.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-support/libunwind/libunwind_1.2.1.bb b/meta/recipes-support/libunwind/libunwind_1.2.1.bb
index 37a762486f..e7fb2b2190 100644
--- a/meta/recipes-support/libunwind/libunwind_1.2.1.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.2.1.bb
@@ -21,3 +21,5 @@  ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"
 
 LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
+
+SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared"