summaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-10 14:43:22 +0200
committerDenys Vlasenko2017-07-18 19:20:58 +0200
commitf807b8e96e308eeb32d466733060bcfb623b57f1 (patch)
tree4e376227254c74c1032bdb42ba25c4665917fb6b /util-linux/mount.c
parent2f6dc07d8fe5cc3349b28ea3351baf050af750d5 (diff)
downloadbusybox-f807b8e96e308eeb32d466733060bcfb623b57f1.zip
busybox-f807b8e96e308eeb32d466733060bcfb623b57f1.tar.gz
inetd,mount: do not die if uclibc without RPC is detected
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 6bb1852..5fcc795 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 <rpc/rpc.h>
# include <rpc/pmap_prot.h>