Skip to contentSkip to conversation

opengl-es-cts: Use SECURITY_NOPIE_CFLAGS

PATCH New Khem Raj 1 participant 1 message Aug 18, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 opengl-es-cts: Use SECURITY_NOPIE_CFLAGS

Fixes
ERROR: opengl-es-cts-3.2.6.1-r0 do_package_qa: QA Issue: opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/deqp-gles3 has relocations in .text
opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/cts-runner has relocations in .text
opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/glcts has relocations in .text
opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/deqp-gles2 has relocations in .text
opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/de-internal-tests has relocations in .text [textrel]

---
 meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb +2 -0
index a9ded3d78f..0e50fd9474 100644
@@ -24,3 +24,5 @@ do_install() {
 	rm -r ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
 	rm -r ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles
 }
+
+SECURITY_CFLAGS_riscv64 = "${SECURITY_NOPIE_CFLAGS}"
Signature · 1 line
2.28.0