mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
d08601ec97
19039: Ensure C locale when querying the compiler for compile commands r=maribu a=janhenke ### Contribution description This fixes generating the compile commands with localization enabled GCC and non-English shell locale. The python script uses regexes to extract the required information. These only match on the default English output. GCC supports localized output messages which break the regexes used. Instead of matching any possible localization, this fix forces the C locale for message output on the compiler invocation, thus ensuring the regexes can match. ### Testing procedure Needed: arm-none-eabi.gcc with localization support and non-English system locale. Invoke the compile-commands make target (`make compile-commands`). It should generate the `compile_commands.json` file correctly. ### Issues/PRs references None found, fix was trivial enough to fix it directly. Co-authored-by: Jan Henke <Jan.Henke@taujhe.de> |
||
---|---|---|
.. | ||
pythonlibs | ||
testbed-support | ||
tools | ||
empty.a | ||
gdbinit-docker | ||
Makefile | ||
usb_id_testing |