summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-07-22 19:32:40 +0000
committerwiz <wiz@pkgsrc.org>2017-07-22 19:32:40 +0000
commit6177644cd63bd541388aa259b9046746957e15e1 (patch)
tree38a47eda354dfd4611eea2db02cb63f14b1ff308 /pkgtools
parent8393114e02bd87b40be6131871920ef29dbd03c8 (diff)
downloadpkgsrc-6177644cd63bd541388aa259b9046746957e15e1.tar.gz
Sprinkle CHECK_RELRO_SKIP on go packages.
go14 has no relro support AFAICT. go-1.8.3 has if you use -buildmode=pie, but it claims it's not supported on Linux. Disable relro checking for go packages until bsiegert has time to look at this.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 11c6e4d5211..f788dae732d 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.515 2017/05/14 14:36:06 wiz Exp $
+# $NetBSD: Makefile,v 1.516 2017/07/22 19:32:41 wiz Exp $
PKGNAME= pkglint-5.4.20
PKGREVISION= 2
@@ -17,6 +17,9 @@ USE_TOOLS+= pax
AUTO_MKDIRS= yes
GO_SRCPATH= netbsd.org/pkglint
+CHECK_RELRO_SKIP+= bin/pkglint
+CHECK_RELRO_SKIP+= bin/plist-clash
+
SUBST_CLASSES+= pkglint
SUBST_STAGE.pkglint= post-configure
SUBST_FILES.pkglint+= pkglint.go package_test.go