Received: by mail.netbsd.org (Postfix, from userid 605) id 3CC8784F28; Sat, 28 Aug 2021 08:07:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 75E3A84D2E for ; Sat, 28 Aug 2021 08:07:40 +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 w1SsrPXPNb9y for ; Sat, 28 Aug 2021 08:07:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CB67B84CED for ; Sat, 28 Aug 2021 08:07:39 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C487FFA97; Sat, 28 Aug 2021 08:07:39 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1630138059131720" MIME-Version: 1.0 Date: Sat, 28 Aug 2021 08:07:39 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/mk To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20210828080739.C487FFA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1630138059131720 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Sat Aug 28 08:07:39 UTC 2021 Modified Files: pkgsrc/mk: bsd.pkg.use.mk Log Message: mk: When using imake, pass LDFLAGS in the environment as LOCAL_LDFLAGS. This allows RELRO to be used when building imake packages. XXX: I'm not certain if this is the right place, but this already seems to be cargo-culted in individual package Makefiles... To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 pkgsrc/mk/bsd.pkg.use.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1630138059131720 Content-Disposition: inline Content-Length: 692 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/bsd.pkg.use.mk diff -u pkgsrc/mk/bsd.pkg.use.mk:1.69 pkgsrc/mk/bsd.pkg.use.mk:1.70 --- pkgsrc/mk/bsd.pkg.use.mk:1.69 Thu Mar 12 00:12:23 2020 +++ pkgsrc/mk/bsd.pkg.use.mk Sat Aug 28 08:07:39 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.use.mk,v 1.69 2020/03/12 00:12:23 rillig Exp $ +# $NetBSD: bsd.pkg.use.mk,v 1.70 2021/08/28 08:07:39 nia Exp $ # # Turn USE_* macros into proper depedency logic. Included near the top of # bsd.pkg.mk, after bsd.prefs.mk. @@ -52,6 +52,7 @@ PLIST_SUBST+= IMAKE_MANNEWSUFFIX=${IMAK .if defined(USE_IMAKE) MAKE_FLAGS+= CC=${CC:Q} CXX=${CXX:Q} +MAKE_FLAGS+= LOCAL_LDFLAGS=${LDFLAGS:Q} .endif PREFIX= ${LOCALBASE} --_----------=_1630138059131720--