From ce55284ed6f5b5303d9e45d034287c728ef9b05a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 10 Jul 2017 14:43:22 +0200 Subject: [PATCH] inetd,mount: do not die if uclibc without RPC is detected Signed-off-by: Denys Vlasenko --- networking/inetd.c | 3 ++- util-linux/mount.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/networking/inetd.c b/networking/inetd.c index 39169a935..3bf157b70 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -227,7 +227,8 @@ #if ENABLE_FEATURE_INETD_RPC # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) -# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support" +# warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" + /* not #error, since user may be using e.g. libtirpc instead */ # endif # include # include diff --git a/util-linux/mount.c b/util-linux/mount.c index 6bb18524d..5fcc7958c 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -246,7 +246,8 @@ /* This is just a warning of a common mistake. Possibly this should be a * uclibc faq entry rather than in busybox... */ # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) -# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support" +# warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" + /* not #error, since user may be using e.g. libtirpc instead */ # endif # include # include -- 2.25.1