diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/libunwind/libunwind_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/libunwind/libunwind_git.bb b/meta/recipes-support/libunwind/libunwind_git.bb index cd4cb89378..424943087e 100644 --- a/meta/recipes-support/libunwind/libunwind_git.bb +++ b/meta/recipes-support/libunwind/libunwind_git.bb @@ -26,3 +26,4 @@ SECURITY_CFLAGS_append_aarch64 = " -fPIE" S = "${WORKDIR}/git" +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |