From 5ab569a069e0ffe4b157b95386f1f07880699c07 Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Tue, 7 Aug 2018 16:16:17 +0200 Subject: [PATCH] nfs-kernel-server: fix missing host symbol res_querydomain/missing-include-dir Signed-off-by: Andy Walsh (cherry picked from commit 19dfe3b173609bed21496012a8c859f714351db8) --- net/nfs-kernel-server/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net/nfs-kernel-server/Makefile b/net/nfs-kernel-server/Makefile index 136ef52d6e..763a634a36 100644 --- a/net/nfs-kernel-server/Makefile +++ b/net/nfs-kernel-server/Makefile @@ -72,7 +72,8 @@ TARGET_CFLAGS += -Wno-error=implicit-function-declaration \ -Wno-error=strict-prototypes \ -Wno-error=incompatible-pointer-types \ -Wno-error=format-security \ - -Wno-error=undef + -Wno-error=undef \ + -Wno-error=missing-include-dirs TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(LIBRPC) \ -L$(STAGING_DIR)/usr/lib/libevent @@ -100,7 +101,8 @@ MAKE_FLAGS += \ RPCGEN_PATH=$(STAGING_DIR_HOSTPKG)/bin/rpcgen \ RPCGEN=$(STAGING_DIR_HOSTPKG)/bin/rpcgen -HOST_CFLAGS += -Dlinux +HOST_CFLAGS += -Dlinux \ + -Wno-error=missing-include-dirs HOST_CONFIGURE_ARGS += \ --disable-gss \ @@ -117,6 +119,7 @@ HOST_CONFIGURE_VARS += \ ac_cv_header_event_h=yes \ ac_cv_header_nfsidmap_h=yes \ ac_cv_header_blkid_blkid_h=yes \ + ac_cv_lib_resolv___res_querydomain=yes \ GSSGLUE_CFLAGS=" " \ GSSGLUE_LIBS=" " \ RPCSECGSS_CFLAGS=" " \ -- 2.30.2