From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105127 invoked by alias); 29 Jun 2017 15:51:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 105065 invoked by uid 89); 29 Jun 2017 15:51:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=anniversary, pg, party X-HELO: mx.sdf.org Received: from ol.sdf.org (HELO mx.sdf.org) (205.166.94.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Jun 2017 15:51:56 +0000 Received: from sdf.org (IDENT:coypu@sdf.lonestar.org [205.166.94.15]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id v5TFpmwp027097 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Thu, 29 Jun 2017 15:51:48 GMT Received: (from coypu@localhost) by sdf.org (8.15.2/8.12.8/Submit) id v5TFpmxK029830; Thu, 29 Jun 2017 15:51:48 GMT Date: Thu, 29 Jun 2017 15:51:00 -0000 From: coypu To: gcc-patches@gcc.gnu.org Cc: coypu@sdf.org Subject: [PATCH] Use a specfile that actually allows building programs on NetBSD Message-ID: <20170629155148.GA18675@SDF.ORG> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.0 (2017-02-23) X-SW-Source: 2017-06/txt/msg02300.txt.bz2 I was thinking of holding a party for the upcoming one year anniversary of pinging this patch, that was committed to NetBSD's copy of GCC about a decade ago. without it, I can't compile simple programs. --- gcc/config/netbsd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index 4001f240d..f4ac23a73 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -96,6 +96,7 @@ along with GCC; see the file COPYING3. If not see %{!pg:-lposix}} \ %{p:-lposix_p} \ %{pg:-lposix_p}} \ + %{shared:-lc} \ %{!shared: \ %{!symbolic: \ %{!p: \ @@ -109,6 +110,7 @@ along with GCC; see the file COPYING3. If not see %{!pg:-lposix}} \ %{p:-lposix_p} \ %{pg:-lposix_p}} \ + %{shared:-lc} \ %{!shared: \ %{!symbolic: \ %{!p: \ -- 2.13.1