Merge branch 'bugfix/cbor_build_sys_cleanup' into 'master'

cbor: build system cleanup

See merge request espressif/esp-idf!15190
pull/7680/head
morris 2021-09-14 13:01:48 +00:00
commit 9e50eafcec
2 zmienionych plików z 0 dodań i 8 usunięć

Wyświetl plik

@ -13,9 +13,3 @@ idf_component_register(SRCS "tinycbor/src/cborencoder_close_container_checked.c"
# for open_memstream.c
set_source_files_properties(tinycbor/src/open_memstream.c PROPERTIES COMPILE_DEFINITIONS "__linux__")
# cbortojson.c:378:17: assignment discards 'const' qualifier from pointer target type
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-discarded-qualifiers")
# cborvalidation.c:429:22: 'valf' may be used uninitialized
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-maybe-uninitialized")

Wyświetl plik

@ -4,5 +4,3 @@ COMPONENT_SRCDIRS := tinycbor/src
COMPONENT_PRIV_INCLUDEDIRS := tinycbor/src
tinycbor/src/open_memstream.o: CFLAGS += -D__linux__
tinycbor/src/cbortojson.o: CFLAGS += -Wno-discarded-qualifiers
tinycbor/src/cborvalidation.o: CFLAGS += -Wno-maybe-uninitialized