[PATCH] enable rpc in eglibc-2.16

Johannes Stezenbach js@sig21.net
Fri Nov 2 14:04:00 GMT 2012


While eglibc-2.16 recommends to use TI-RPC instead
of the old sunrpc, the old one can be included using
a configure option.  Since the user can still use TI-RPC
to override the libc implementation, we enable rpc unconditionally.

Signed-off-by: Johannes Stezenbach <js@sig21.net>


diff -r bd4af15b7c75 scripts/build/libc/glibc-eglibc.sh-common
--- a/scripts/build/libc/glibc-eglibc.sh-common	Wed Oct 31 23:31:32 2012 +0100
+++ b/scripts/build/libc/glibc-eglibc.sh-common	Fri Nov 02 14:54:33 2012 +0100
@@ -214,6 +214,10 @@
             else
                 OPTIMIZE=-O2
             fi
+            if [ "${CT_LIBC_EGLIBC_2_16_or_later}" = "y" ]; then
+                # always include rpc, the user can still override it with TI-RPC
+                extra_config+=( --enable-obsolete-rpc )
+            fi
             ;;
         glibc)
             # glibc can't be built without -O2 (reference needed!)

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list