diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-14 12:21:34 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 09:44:33 +0100 |
commit | 95eb15f997483dd71f09adee8565066e8d8bfec6 (patch) | |
tree | c6e073d926f39b373fd6279a694260b931eba857 /meta/recipes-support/libunwind | |
parent | 7bdfa2cc6e5d9e15bf2970213b4198824a9446e5 (diff) | |
download | openembedded-core-contrib-95eb15f997483dd71f09adee8565066e8d8bfec6.tar.gz |
libunwind: Fix build with musl+security flags
Fixes
src/os-linux.c:63: undefined reference to `__stack_chk_fail_local'
(From OE-Core rev: 43894faa45884dcc3b6111ed67e1a96fbec019a8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libunwind')
-rw-r--r-- | meta/recipes-support/libunwind/libunwind_1.2.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/libunwind/libunwind_1.2.1.bb b/meta/recipes-support/libunwind/libunwind_1.2.1.bb index 37a762486f4..e7fb2b21904 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" |