2014-05-07 21:52:52 +00:00
|
|
|
|
LIBC_RESOLV_DIR = $(LIBC_DIR)/lib/libc/resolv
|
2012-05-24 13:26:59 +00:00
|
|
|
|
|
2019-04-26 10:47:33 +00:00
|
|
|
|
FILTER_OUT = res_debug.c
|
|
|
|
|
|
|
|
|
|
SRC_C = $(filter-out $(FILTER_OUT),$(notdir $(wildcard $(LIBC_RESOLV_DIR)/*.c)))
|
2012-05-24 13:26:59 +00:00
|
|
|
|
|
|
|
|
|
include $(REP_DIR)/lib/mk/libc-common.inc
|
|
|
|
|
|
2019-04-26 10:47:33 +00:00
|
|
|
|
INC_DIR += sys/sys
|
|
|
|
|
INC_DIR += $(LIBC_DIR)/sys/sys
|
|
|
|
|
|
|
|
|
|
CC_DEF += -DSTDERR_FILENO=2
|
|
|
|
|
|
2020-01-03 14:58:42 +00:00
|
|
|
|
# suppress "warning: ‘strncpy’ specified bound depends on the length of the source argument"
|
|
|
|
|
CC_OPT_res_query := -Wno-stringop-overflow
|
|
|
|
|
|
2012-05-24 13:26:59 +00:00
|
|
|
|
vpath %.c $(LIBC_RESOLV_DIR)
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|