Avoid executable stack (#243)

without this patch, the rpmlint check for executable stack
failed the build on openSUSE.
This commit is contained in:
Bernhard M. Wiedemann 2023-04-28 02:25:04 +02:00 committed by GitHub
parent d713d86af1
commit 0c6f6b5723
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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