[oe-commits] [meta-openembedded] 03/47: klibc-static-utils: fix textrel, disable security flags for the static utils

git at git.openembedded.org git at git.openembedded.org
Tue Sep 25 16:18:45 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit ed34bf11ab49a522d008676496a6f10e14ca1625
Author: Andrea Adami <andrea.adami at gmail.com>
AuthorDate: Tue Sep 18 00:41:10 2018 +0200

    klibc-static-utils: fix textrel, disable security flags for the static utils
    
    Fix
    WARNING: klibc-static-utils-2.0.4-r0 do_package_qa:
     QA Issue: ELF binary 'X' has relocations in .text [textrel]
    
    Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.4.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.4.bb b/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.4.bb
index c835fd6..35e17b2 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.4.bb
+++ b/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.4.bb
@@ -10,3 +10,7 @@ KLIBC_UTILS_PKGNAME = "klibc-static-utils"
 
 require klibc-utils.inc
 require klibc.inc
+
+# avoid textrel if linking with -pie
+SECURITY_CFLAGS = ""
+SECURITY_LDFLAGS = ""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list