Patchwork enable rpc in eglibc-2.16

login
register
mail settings
Submitter Johannes Stezenbach
Date Nov. 2, 2012, 2:04 p.m.
Message ID <20121102140404.GA7707@sig21.net>
Download mbox | patch
Permalink /patch/196564/
State Accepted
Commit 75c2df0f7a12
Headers show

Comments

Johannes Stezenbach - Nov. 2, 2012, 2:04 p.m.
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>



--
For unsubscribe information see http://sourceware.org/lists.html#faq
Yann E. MORIN - Nov. 9, 2012, 1:44 p.m.
Johannes, All,

Your patch:
    libc/eglibc: enable rpc in eglibc-2.16+

has been applied as: #75c2df0f7a12
    http://crosstool-ng.org/hg/crosstool-ng/rev/75c2df0f7a12

Thank you!

Regards,
Yann E. MORIN.



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

Patch

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!)