Avoid executable stack

without this patch, the rpmlint check for executable stack
failed the build on openSUSE.
This commit is contained in:
Bernhard M. Wiedemann 2023-04-27 20:30:56 +02:00
parent d713d86af1
commit 80faeb2369

View file

@ -138,4 +138,10 @@ MY_ENDP
%ifidn __OUTPUT_FORMAT__,elf
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
%ifidn __OUTPUT_FORMAT__,elf32
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
%ifidn __OUTPUT_FORMAT__,elf64
section .note.GNU-stack noalloc noexec nowrite progbits
%endif