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