Skip to contentSkip to conversation

klibc-static-utils: fix textrel, disable security flags for the static utils

PATCH New Andrea Adami 1 participant 1 message Sep 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---
 meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.4.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.4.bb +4 -0
index c835fd6..35e17b2 100644
@@ -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 = ""
Signature · 1 line
2.7.4