circuitpython/shared/libc
Marco Sirabella 50e24c31ed Unset D_FORTIFY_SOURCE and remove unneeded copied functions
Commit 4e2ab71dfe reverts
micropython/micropython@5cf71b5596
which solved micropython/micropython#6046, which I'm seeing again on my
gentoo system with D_FORTIFY_HARDENED enabled by default.

Unfortunately we can't just revert the revertion because circuitpython
enforces prototypes for defined functions, which is why 4e2ab71d was
implemented initially. Micropython doesn't suffer from this issue.

The implemented fix is to just circumvent D_FORTIFY_SOURCE, a nice
side-effect is we can remove the  re-implemented functions that were
added on the initial `string.h` removal.
2023-11-03 13:53:46 -07:00
..
__errno.c shared: Introduce new top-level dir and move 1st party lib code there. 2021-07-12 17:07:36 +10:00
abort_.c Conditionalize LTO 2022-05-27 12:59:54 -07:00
printf.c initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
string0.c Unset D_FORTIFY_SOURCE and remove unneeded copied functions 2023-11-03 13:53:46 -07:00