busybox: disable the check for the uclibc rpc config option

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25506 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2011-02-13 02:52:30 +00:00
parent f9db725f5c
commit 4613711c4f
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -69,9 +69,6 @@
#if ENABLE_FEATURE_MOUNT_NFS
/* 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"
-# endif
# include <rpc/rpc.h>
# include <rpc/pmap_prot.h>
# include <rpc/pmap_clnt.h>