pkgsrc/lang/go/go-vars.mk
tnn 6863038df6 go-vars.mk: set RELRO_SUPPORTED=no here
So we don't have to set CHECK_RELRO_SKIP in every go package.
It's a property of golang and may get fixed some day.
2020-08-30 05:52:10 +00:00

20 lines
649 B
Makefile

# $NetBSD: go-vars.mk,v 1.2 2020/08/30 05:52:10 tnn Exp $
#
# Makefile fragment to be included by any package that uses go-package.mk.
#
# This needs to be included before bsd.prefs.mk, as the variables set in this
# file are used there to determine whether certain features should be enabled
# or not.
#
# go-package.mk itself can't always be included before bsd.prefs.mk as it
# provides some default targets such as do-install if the package has not
# already defined its own.
#
#
# go uses its own special linker which does not at this time support CTF/SSP.
#
CTF_SUPPORTED= no
RELRO_SUPPORTED= no
SSP_SUPPORTED= no
STRIP_DEBUG_SUPPORTED= no