From 74152e82da1b0db4da04e37c9ff1583081bbb902 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 17 Aug 2020 22:17:49 -0700 Subject: 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 --- meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb index a9ded3d78f..0e50fd9474 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb +++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb @@ -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}" -- cgit v1.2.3-54-g00ecf