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]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-08-17 22:17:49 -07:00
parent 8c6115ce91
commit 74152e82da
@@ -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}"