diff --git a/common-user/safe-syscall.S b/common-user/safe-syscall.S index 74f7e35694..2f714cfbe8 100644 --- a/common-user/safe-syscall.S +++ b/common-user/safe-syscall.S @@ -22,6 +22,6 @@ * assembly needs an executable stack and the whole QEMU binary will * needlessly end up with one. This should be the last thing in this file. */ -#if defined(__linux__) && defined(__ELF__) +#if defined(__ELF__) .section .note.GNU-stack, "", %progbits #endif