From patchwork Wed May 27 15:59:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 477184 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 666B8140129 for ; Thu, 28 May 2015 02:00:09 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=Jp+nISsw; 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=wtT+6mK00ATU AukvFj6nYbgBAvDpTgmC38ImmDPXPimVkJgCLodEU8rOL4hkhFQqYmW1Lp9tZJH+ yi3tRtNuTqUDxfnMPtakcJOaPTKTOu6WVhLcliI/JUc4tpX6ILetgBx5OgLELNIU LdUZ6pK/T818Jun9bj0E/zgaPNAy080= 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=kVsTNhDMcSP3vpqo3W 4VOTecffY=; b=Jp+nISsw3U2DpHFVzmllabO2k0bhcVWTY2jujbDlA2+Spv30ie BLOQYJqVdmriOHVd3hPmgxcyKlMm26YQ/RlAlAk3iIHLhyWMU7nSo3mqHwMm91k6 SAGtV6VzRpb3oHLQOMSjoTMkhccq9hQLG6L9UDNgNYwlwgP2qwYuD+p5w= Received: (qmail 100397 invoked by alias); 27 May 2015 15:59:59 -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 100303 invoked by uid 89); 27 May 2015 15:59:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, 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:58 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id C1C9B340D3A; Wed, 27 May 2015 15:59:55 +0000 (UTC) From: Mike Frysinger To: gcc-patches@gcc.gnu.org Cc: eager@eagercon.com Subject: [PATCH] microblaze-linux: add missing cpp specs Date: Wed, 27 May 2015 11:59:54 -0400 Message-Id: <1432742394-23471-1-git-send-email-vapier@gentoo.org> Define CPP_SPEC for microblaze linux targets so that -posix & -pthread work like on all other linux targets. 2015-05-27 Mike Frysinger * config/microblaze/linux.h (CPP_SPEC): Define. --- gcc/config/microblaze/linux.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h index a7faa7d..655a70f 100644 --- a/gcc/config/microblaze/linux.h +++ b/gcc/config/microblaze/linux.h @@ -22,6 +22,9 @@ #undef TARGET_SUPPORTS_PIC #define TARGET_SUPPORTS_PIC 1 +#undef CPP_SPEC +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" + #undef TLS_NEEDS_GOT #define TLS_NEEDS_GOT 1