From patchwork Wed Aug 27 17:50:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 383531 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9983F140088 for ; Thu, 28 Aug 2014 03:50:59 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=wqn1PDuW+ss+3q4Zhie6WE91WppB7s/q+sGJmDAYuFIblcBhsVv1e OOANMTievTfCmGUSAr9HVnkDHrCmaNb5h6TOKlkO9tlkUdnOqUFmFAH4I4kVHFlI ROAkwWwD2Co4Nxr5gqtgTLLLuvse2igVE95y8KYT+f0DsIbKi3NFgg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=lHJa+kzS1r0vftC6gSeWm3tPi/w=; b=wX5G9MTdWP3Y5FJI2+// Iz62mn9+NXDIMpKJ4jEDKLL4y6E4n3frYxZzuGqmk8zw0gEB3YV3CnDT9HUDgb1t W6epHgwb4BUp4RX7gRqAos239V0XwYzSnFcHDDhKYY7DKqJWId2HZpkM38D0fCFB ud6/WAN5EDpwSnebLc7O97c= Received: (qmail 25181 invoked by alias); 27 Aug 2014 17:50:13 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 25161 invoked by uid 89); 27 Aug 2014 17:50:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 27 Aug 2014 17:50:12 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7RHoAth021100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Aug 2014 13:50:10 -0400 Received: from localhost (ovpn-116-96.ams2.redhat.com [10.36.116.96]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7RHo9rp004328; Wed, 27 Aug 2014 13:50:09 -0400 Date: Wed, 27 Aug 2014 18:50:08 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [patch] Only configure libstdc++-v3/python dir for hosted builds Message-ID: <20140827175008.GG22778@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Currently a freestanding build installs the Python GDB hooks as ${libdir}/libstdc*-gdb.py (with a literal * character in the filename) because there is no libstdc++.so library file and the wildcard doesn't get expanded (see the install-data-local target in the libstdc++-v3/python/Makefile.am file). I don't see any reason to install any Python files for a freestanding build, the pretty printers and type printers are only useful for types defined in the hosted library, so this just disables the entire directory. Is there any reason not to do this? commit e8c1f4879beeeda8625467a4fdaf84b34d243471 Author: Jonathan Wakely Date: Wed Aug 27 18:39:00 2014 +0100 * Makefile.am (SUBDIRS): Move python to hosted_source. * Makefile.in: Regenerate. diff --git a/libstdc++-v3/Makefile.am b/libstdc++-v3/Makefile.am index b602202..42cff3e 100644 --- a/libstdc++-v3/Makefile.am +++ b/libstdc++-v3/Makefile.am @@ -23,12 +23,12 @@ include $(top_srcdir)/fragment.am if GLIBCXX_HOSTED - hosted_source = src doc po testsuite +## Note that python must come after src. + hosted_source = src doc po testsuite python endif ## Keep this list sync'd with acinclude.m4:GLIBCXX_CONFIGURE. -## Note that python must come after src. -SUBDIRS = include libsupc++ $(hosted_source) python +SUBDIRS = include libsupc++ $(hosted_source) ACLOCAL_AMFLAGS = -I . -I .. -I ../config