libc-net/resolv: silence warning in 3rd-party code

This commit is contained in:
Norman Feske
2020-01-03 15:58:42 +01:00
committed by Christian Helmuth
parent e1e1fa23b7
commit c2a2ec121f
2 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,9 @@ SRC_C += vars.c
# b64_ntop
SRC_C += base64.c
# suppress "warning: strncpy specified bound depends on the length of the source argument"
CC_OPT_getaddrinfo := -Wno-stringop-overflow
include $(REP_DIR)/lib/mk/libc-common.inc
INC_DIR += $(LIBC_REP_DIR)/include/libc