summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-10-04 10:03:53 +0000
committerjperkin <jperkin@pkgsrc.org>2017-10-04 10:03:53 +0000
commit63619c61285779fa2c8c6d2a0105f481c3701a5b (patch)
tree7d28332c1c63b51be6f2730b83a54b1fac8474ac /lang
parent665791967ebac8f3b9ef9409f7d723edcc3311f7 (diff)
downloadpkgsrc-63619c61285779fa2c8c6d2a0105f481c3701a5b.tar.gz
go*: Disable SSP checks for similar reasons as RELRO.
Diffstat (limited to 'lang')
-rw-r--r--lang/go/Makefile4
-rw-r--r--lang/go14/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/go/Makefile b/lang/go/Makefile
index 525f1678dc6..756fac1cc4f 100644
--- a/lang/go/Makefile
+++ b/lang/go/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2017/09/03 16:49:52 tron Exp $
+# $NetBSD: Makefile,v 1.57 2017/10/04 10:03:53 jperkin Exp $
.include "version.mk"
@@ -72,6 +72,8 @@ CHECK_RELRO_SKIP+= go/bin/gofmt
CHECK_RELRO_SKIP+= go/pkg/bootstrap/bin/asm
CHECK_RELRO_SKIP+= go/pkg/bootstrap/bin/compile
CHECK_RELRO_SKIP+= go/pkg/bootstrap/bin/link
+# also does not support SSP at this time
+CHECK_SSP_SKIP= ${CHECK_RELRO_SKIP}
# uses /bin/rc (for Plan 9)
CHECK_INTERPRETER_SKIP+= go/include/plan9/mklibc.rc
diff --git a/lang/go14/Makefile b/lang/go14/Makefile
index 68157b09362..5d499e3deaa 100644
--- a/lang/go14/Makefile
+++ b/lang/go14/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2017/09/02 17:15:00 bsiegert Exp $
+# $NetBSD: Makefile,v 1.14 2017/10/04 10:03:53 jperkin Exp $
.include "../../lang/go/version.mk"
@@ -70,6 +70,8 @@ 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
+# also does not support SSP at this time
+CHECK_SSP_SKIP= ${CHECK_RELRO_SKIP}
# uses /bin/rc (for Plan 9)
CHECK_INTERPRETER_SKIP+= go14/include/plan9/mklibc.rc