From patchwork Wed May 27 15:59:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 477182 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 693D8140129 for ; Thu, 28 May 2015 01:59:58 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=lMgky+0p; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=H4DdzmE/zGnq XlbkZXZ3L+8+TBEnskOmpwQe/8jl1ORnDxlPUFYzVkV0eWHXkkkE6pG+pPG3bJVe QuTSznxad9cf75DVGHWG8KO7yHg6lmW8AxBci2F+w4pQQ13PXTIuVNtBNV+2DE4V W5z/AWqSrpQ+OOdQYlNPG5I8IxD6yQ4= 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:from :to:cc:subject:date:message-id; s=default; bh=mM+Ct9LASqU0WuORRH 8WJoVXSCI=; b=lMgky+0puMRKmx2UM4fJ+FTjVwr3SI/nFjOpyYMthqI2qD82hK Te4mzGxoHajPArwlRMszGDqIgh4aqYneY20fr0vzL9iKF7CaM6+A+rb68g/+l+F0 zOrA6RaC6hPk/YOc3QaCMWlwjEziExcoXd1fvluDhrQKT3gnsx5baqWQo= Received: (qmail 98394 invoked by alias); 27 May 2015 15:59:42 -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 98305 invoked by uid 89); 27 May 2015 15:59:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL, BAYES_20, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 27 May 2015 15:59:39 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 2C685340D3A; Wed, 27 May 2015 15:59:37 +0000 (UTC) From: Mike Frysinger To: gcc-patches@gcc.gnu.org Cc: law@redhat.com, dave.anglin@bell.net Subject: [PATCH] hppa-linux: add missing cpp specs Date: Wed, 27 May 2015 11:59:34 -0400 Message-Id: <1432742374-23414-1-git-send-email-vapier@gentoo.org> Define CPP_SPEC for parisc linux targets so that -posix & -pthread work like on all other linux targets. 2015-05-27 Mike Frysinger * config/pa/pa-linux.h (CPP_SPEC): Define. --- gcc/config/pa/pa-linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index 396d321..f8da185 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see while (0) #undef CPP_SPEC -#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" #undef ASM_SPEC #define ASM_SPEC \