Received: by mail.netbsd.org (Postfix, from userid 605) id 7698B84D6A; Mon, 12 Sep 2022 08:59:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9509684D6A for ; Mon, 12 Sep 2022 08:59:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id SrTVOzNQRdhs for ; Mon, 12 Sep 2022 08:59:16 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DAA0D84D12 for ; Mon, 12 Sep 2022 08:59:15 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CEE8BFA90; Mon, 12 Sep 2022 08:59:15 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_166297315519530" MIME-Version: 1.0 Date: Mon, 12 Sep 2022 08:59:15 +0000 From: "Havard Eidnes" Subject: CVS commit: pkgsrc/lang/llvm To: pkgsrc-changes@NetBSD.org Reply-To: he@netbsd.org X-Mailer: log_accum Message-Id: <20220912085915.CEE8BFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_166297315519530 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: he Date: Mon Sep 12 08:59:15 UTC 2022 Modified Files: pkgsrc/lang/llvm: Makefile Log Message: lang/llvm: fix the logic in the powerpc section... ...so that we don't insist on -mno-pltseq on older NetBSD. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 pkgsrc/lang/llvm/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_166297315519530 Content-Disposition: inline Content-Length: 1037 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/llvm/Makefile diff -u pkgsrc/lang/llvm/Makefile:1.81 pkgsrc/lang/llvm/Makefile:1.82 --- pkgsrc/lang/llvm/Makefile:1.81 Thu Sep 1 01:36:42 2022 +++ pkgsrc/lang/llvm/Makefile Mon Sep 12 08:59:15 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.81 2022/09/01 01:36:42 gutteridge Exp $ +# $NetBSD: Makefile,v 1.82 2022/09/12 08:59:15 he Exp $ # # When updating this, please also update: # devel/include-what-you-use @@ -118,11 +118,13 @@ CXXFLAGS+= -march=i586 # Needed to avoid "relocation truncated to fit: R_PPC_REL24" CFLAGS+= -mlongcall CXXFLAGS+= -mlongcall -. if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 099917 +. if ${OPSYS} == "NetBSD" +. if ${OPSYS_VERSION} >= 099917 # The -mno-pltseq option is not available in gcc7, but is needed for # the above-mentioned relocation truncation issue in newer GCC CFLAGS+= -mno-pltseq CXXFLAGS+= -mno-pltseq +. endif # (just drop for older NetBSD) . else # Not NetBSD # Let's just insist on newer gcc -- untested. CFLAGS+= -mno-pltseq --_----------=_166297315519530--