Skip to content

main/gcc: fix patch for TARGET_CAN_SPLIT_STACK

Sören Tempel requested to merge nmeum/aports:gcc-stack-split-fix-fix into master

It looks like GCC's OPTION_GLIBC_P is not intended to be used in a pre-processor context. As such, we have to resort to DEFAULT_LIBC in a pre-processor context (at least I don't know any better macro we can check for). This should remove the need for the gospec.c hotfix.

Let's see if this passes on the CI 🫣


CC: @ariadne, @psykose

Edited by Sören Tempel

Merge request reports