Disabling ssp directory

Joel Sherrill <[email protected]> Mon, 2 Mar 2026 13:38:26 -0600
Newsgroups gmane.comp.lib.newlib
Message-ID <CAF9ehCUTTraOxsfor=-hrmngwb5Vu_6wp025v95NNJ1C5_9ehg@mail.gmail.com>
Hi

RTEMS has its own version of the stack protection functions.

To avoid potential conflicts, I'd like to disable ssp/ from the build.

There is currently no conditional mechanism to disable it.

Would adding another newlib_cflags like HAVE_SSP be ok?

It seems like the easiest solution and is aligns with what has been done in
other cases where the target provides a function also in newlib.

Thanks.

--joel