From patchwork Tue Aug 19 18:43:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 2439 Received: (qmail 13167 invoked by alias); 19 Aug 2014 18:43:39 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 13157 invoked by uid 89); 19 Aug 2014 18:43:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Date: Wed, 20 Aug 2014 00:13:32 +0530 From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [PATCH] Remove NOT_IN_libc definition for pthread_atfork Message-ID: <20140819184332.GA2760@spoyarek.pnq.redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) pthread_atfork is already built in an extra-libs context, which gives it NOT_IN_libc in its CPPFLAGS. Adding the same definition to CFLAGS is pointless. Verified that the code is unchanged on x86_64. * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove. --- nptl/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/nptl/Makefile b/nptl/Makefile index 7fbf7db..ba555c9 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -139,8 +139,6 @@ libpthread-routines = nptl-init vars events version \ libpthread-shared-only-routines = version pt-allocrtsig unwind-forcedunwind libpthread-static-only-routines = pthread_atfork -CFLAGS-pthread_atfork.c = -DNOT_IN_libc - # Since cancellation handling is in large parts handled using exceptions # we have to compile some files with exception handling enabled, some # even with asynchronous unwind tables.