mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
ne10: Avoid requesting an executable stack
This avoids warnings like: ld: warning: NE10_physics.neon.s.o: missing .note.GNU-stack section implies executable stack ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker With glibc 2.41, the need for an executable stack lead to errors like this in runtime: [ ERR ] foo@0[984]: [setup-script: /usr/share/foo/foo.enc] sol: runtime error: libNE10.so.10: cannot enable executable stack as shared object requires: Invalid argument Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
838a8ae9ca
commit
7bc205ba54
@@ -26,6 +26,7 @@ NE10_TARGET_ARCH:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon","armv7","
|
||||
NE10_TARGET_ARCH:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon","armv7","",d)}"
|
||||
|
||||
EXTRA_OECMAKE = '-DGNULINUX_PLATFORM=ON -DNE10_BUILD_SHARED=ON -DNE10_LINUX_TARGET_ARCH="${NE10_TARGET_ARCH}"'
|
||||
CFLAGS += "-Wa,--noexecstack"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${libdir}
|
||||
|
||||
Reference in New Issue
Block a user