This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] enable rpc in eglibc-2.16


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]