coap: silence format truncation warning (appears with GCC 8)
This commit is contained in:
parent
76da10a665
commit
8016448fb1
2 changed files with 4 additions and 0 deletions
|
@ -29,3 +29,5 @@ register_component()
|
||||||
# TODO: find a way to move this to a port header
|
# TODO: find a way to move this to a port header
|
||||||
target_compile_definitions(${COMPONENT_TARGET} PUBLIC WITH_POSIX)
|
target_compile_definitions(${COMPONENT_TARGET} PUBLIC WITH_POSIX)
|
||||||
|
|
||||||
|
# Silence format truncation warning, until it is fixed upstream
|
||||||
|
set_source_files_properties(libcoap/src/coap_debug.c PROPERTIES COMPILE_FLAGS -Wno-format-truncation)
|
||||||
|
|
|
@ -10,3 +10,5 @@ COMPONENT_SRCDIRS := libcoap/src libcoap port
|
||||||
|
|
||||||
COMPONENT_SUBMODULES += libcoap
|
COMPONENT_SUBMODULES += libcoap
|
||||||
|
|
||||||
|
# Silence format truncation warning, until it is fixed upstream
|
||||||
|
libcoap/src/coap_debug.o: CFLAGS += -Wno-format-truncation
|
||||||
|
|
Loading…
Reference in a new issue