From patchwork Wed Oct 17 11:43:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 192022 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 4758E2C0096 for ; Wed, 17 Oct 2012 22:45:00 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1351079101; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version: Content-Transfer-Encoding:Content-Type:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=tyZHNQv2JSDnuH1ImC9l73IHQiM=; b=QY1eLIX5y4109p+q43El1VnqPxFHmIqlw8rxRWuF5AOlwpw293vB49zCHZP5n/ YeT+a7VaVT4kAtyOBUJTCNOP9JWkmq8STQb5vmwzd6cJDlvr6c3w8jJPspAfcY7f Wf1Gz5GWtyfMLGyA6ELx3kJjDXefl/hk0tOpyBYG6PXCI= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version:Content-Transfer-Encoding:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=mNZIvMRn4Erxhz5Eu/Goh9GmvO4HNPwXHjylZZS9oyfHhFmgfmMFuTHG6DZ2zx 3UnSb1Xq1BU/1/j9JfUl9oogGdHoKPR/u/KrZvSq09W9NJB0/sXi7uftTgPOi/9D +D0ZJQL3RKOvcitrnHpbdahx2DgKplWKAs0UFvVsYLjiU=; Received: (qmail 5542 invoked by alias); 17 Oct 2012 11:44:57 -0000 Received: (qmail 5533 invoked by uid 22791); 17 Oct 2012 11:44:56 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-bk0-f41.google.com (HELO mail-bk0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Oct 2012 11:44:50 +0000 Received: by mail-bk0-f41.google.com with SMTP id jm1so3258785bkc.0 for ; Wed, 17 Oct 2012 04:44:48 -0700 (PDT) Received: by 10.205.120.134 with SMTP id fy6mr5106257bkc.18.1350474288773; Wed, 17 Oct 2012 04:44:48 -0700 (PDT) Received: from flexo.localnet (freebox.vlq16.iliad.fr. [213.36.7.13]) by mx.google.com with ESMTPS id x13sm12706949bkv.16.2012.10.17.04.44.47 (version=SSLv3 cipher=OTHER); Wed, 17 Oct 2012 04:44:48 -0700 (PDT) From: Florian Fainelli To: crossgcc@sourceware.org, "Yann E. MORIN" Subject: [PATCH] libc/eglibc: add an option to enable obsolete RPC building Date: Wed, 17 Oct 2012 13:43:36 +0200 Message-ID: <3359545.UbcoClgYkd@flexo> User-Agent: KMail/4.8.5 (Linux/3.2.0-24-generic; KDE/4.8.5; x86_64; ; ) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org # HG changeset patch # User Florian Fainelli # Date 1349256753 -7200 # Node ID 7f6ddb2b0ca0d89fa5bc98c1deb55d840b505ccd # Parent 43ace4bb005eef085437e3d4fbaef528ef0ef005 [PATCH] libc/eglibc: add an option to enable obsolete RPC building Add an option to enable eglibc's feature to build the obsolete RPC implementation, which is selected by default when eglibc 2.16 is selected. Signed-off-by: Florian Fainelli exporting patch: --- For unsubscribe information see http://sourceware.org/lists.html#faq diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in --- a/config/libc/eglibc.in +++ b/config/libc/eglibc.in @@ -197,6 +197,15 @@ Optimize eglibc for size using -Os instead of -O2. This will make eglibc smaller but may make it slower. +config EGLIBC_ENABLE_OBSOLETE_RPC + bool + prompt "Enable obsolete RPC" + default y if LIBC_EGLIBC_V_2_16 + help + Enable the building of the pre eglibc 2.14 RPC implementation. + This option may be required if you are not building libtirpc for + your system. + config EGLIBC_CUSTOM_CONFIG bool prompt "Use custom configuration file" diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common --- a/scripts/build/libc/glibc-eglibc.sh-common +++ b/scripts/build/libc/glibc-eglibc.sh-common @@ -214,6 +214,9 @@ else OPTIMIZE=-O2 fi + if [ "${CT_EGLIBC_ENABLE_OBSOLETE_RPC}" = "y" ]; then + extra_config+=( --enable-obsolete-rpc ) + fi ;; glibc) # glibc can't be built without -O2 (reference needed!)