mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
dist/tools/flatc: Fix compilation on musl
flatc uses `strto<foo>_l()` over `strto<foo>()` when available, so that they behave reproducible. The musl libc has no locale support, which has the added benefit of reproducible behavior being the default. For some reason a `strtof_l()` compatibility wrapper was added in musl, but the other `strto<foo>_l()` wrappers are missing. This adds a patch to check for `strtoull_l()` instead of `strtof_l()`. This will not make a difference on a libc that supports all of them, but fixes compilation on musl.
This commit is contained in:
parent
e402e3f57a
commit
b540f6fe5e
BIN
dist/tools/flatc/patches/0001-CMakeLists.txt-fix-compilation-on-musl.patch
vendored
Normal file
BIN
dist/tools/flatc/patches/0001-CMakeLists.txt-fix-compilation-on-musl.patch
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user