mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
8700157f92
19220: dist/tools/doccheck: Fix grep warning r=benpicco a=maribu ### Contribution description Fix `grep: warning: stray \ before -` warnings. ### Testing procedure ``` $ ./dist/tools/doccheck/check.sh ``` Should no longer print lots of the warning anymore ### Issues/PRs references 19232: build system: Fix linker feature test with newlib 4.3.0 r=benpicco a=maribu ### Contribution description Before the build system used something like echo "int main(){} void _exit(int n) {(void)n;while(1);}" | LC_ALL=C $(LINK) -xc - -o /dev/null -lc -Wall -Wextra -pedantic <FLAGS_TO_TEST> to check for flags supported by the compiler (used as linker frontend). This however no longer works with newlib 4.3.0, which requires the symbols `_sbrk_r`, `_close_r`, `_lseek_r`, `_read_r`, and `_write_r` to be present. Instead, now a new file `minimal_linkable.c` was added that adds all the missing symbols and is used in the linker feature tests instead. ### Testing procedure - No regressions on the CI - No changes in binaries - Building rust apps with newlib 4.3.0 should work again ### Issues/PRs references Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de> |
||
---|---|---|
.. | ||
pythonlibs | ||
testbed-support | ||
tools | ||
empty.a | ||
gdbinit-docker | ||
Makefile | ||
usb_id_testing |