inetd,mount: add comment with example of flags to build with libtirpc
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 13 Feb 2018 17:20:28 +0000 (18:20 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 13 Feb 2018 17:20:28 +0000 (18:20 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/inetd.c
util-linux/mount.c

index 6843845fb83d25c2af2bd095269b9dc5cc69bc39..ca1a972683be9e2555a909079a6ccde85da8ba5e 100644 (file)
 #if ENABLE_FEATURE_INETD_RPC
 # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
 #  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 */
+   /* not #error, since user may be using e.g. libtirpc instead.
+    * This might work:
+    * CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc"
+    * CONFIG_EXTRA_LDLIBS="tirpc"
+    */
 # endif
 # include <rpc/rpc.h>
 # include <rpc/pmap_clnt.h>
index 4eade0869d561316121bd788513f8724f555fa93..fa2e7b114ac222ff52790d8dbb2cec6c23f6ea77 100644 (file)
  * uclibc faq entry rather than in busybox... */
 # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
 #  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 */
+   /* not #error, since user may be using e.g. libtirpc instead.
+    * This might work:
+    * CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc"
+    * CONFIG_EXTRA_LDLIBS="tirpc"
+    */
 # endif
 # include <rpc/rpc.h>
 # include <rpc/pmap_prot.h>