diff options
author | wiz <wiz@pkgsrc.org> | 2017-07-22 19:32:40 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-07-22 19:32:40 +0000 |
commit | 6177644cd63bd541388aa259b9046746957e15e1 (patch) | |
tree | 38a47eda354dfd4611eea2db02cb63f14b1ff308 /lang/go14 | |
parent | 8393114e02bd87b40be6131871920ef29dbd03c8 (diff) | |
download | pkgsrc-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 'lang/go14')
-rw-r--r-- | lang/go14/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/go14/Makefile b/lang/go14/Makefile index 20150f779d4..6494b31a337 100644 --- a/lang/go14/Makefile +++ b/lang/go14/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2017/07/22 10:00:21 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2017/07/22 19:32:41 wiz Exp $ .include "../../lang/go/version.mk" @@ -64,6 +64,10 @@ REPLACE_PERL+= src/regexp/syntax/make_perl_groups.pl REPLACE_PERL+= src/syscall/*.pl REPLACE_PERL+= test/errchk +# uses its own linker which does not support relro in 1.4.x +CHECK_RELRO_SKIP= go14/bin/go +CHECK_RELRO_SKIP+= go14/bin/gofmt + # uses /bin/rc (for Plan 9) CHECK_INTERPRETER_SKIP+= go14/include/plan9/mklibc.rc CHECK_INTERPRETER_SKIP+= go14/src/all.rc |