esp-idf/components/cbor
Ivan Grokhotkov 1e2b1238c6 cbor: add a workaround for -ffreestanding being passed to clang
Toolchain CMake files for clang currently pass -ffreestanding option
to prevent clang from picking the wrong copy of stdint.h. This is a
temporary hack until we fix clang distributions to not include the
GCC version of stdint.h. This hack, however, results in setting
__STDC_HOSTED__=0, which is being checked by cbor header files,
making some required functions unavailable as a result.
Undefine __STDC_HOSTED__ as a workaround. This flag is only passed
when compiling cbor itself.
2021-09-16 11:07:54 +02:00
..
port/include
tinycbor@7c349dbb6b tinycbor: update to latest upstream commit-id 2021-04-20 03:59:44 +00:00
CMakeLists.txt cbor: add a workaround for -ffreestanding being passed to clang 2021-09-16 11:07:54 +02:00
component.mk cbor: build system cleanup 2021-09-14 09:45:43 +05:30