https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Rainer Orth from comment #0)
> 
> The usual way throughout the code base is to guard .note.GNU-stack with
> __ELF__ && __linux__ to avoid all this.

Isn't checking __linux__ sufficient?

Reply via email to