diff options
author | tpaul <tpaul@pkgsrc.org> | 2021-02-01 16:03:49 +0000 |
---|---|---|
committer | tpaul <tpaul@pkgsrc.org> | 2021-02-01 16:03:49 +0000 |
commit | 2d47339e998dda4602a219425d31043341ba40dc (patch) | |
tree | 3ab630f692c61a75172fc81c58b228fbc1d3f818 /mk/check | |
parent | 566362fdc28c023a6be3de801822b749256aad55 (diff) | |
download | pkgsrc-2d47339e998dda4602a219425d31043341ba40dc.tar.gz |
mk: Use "_PKGSRC_USE_RELRO" instead of "PKGSRC_USE_RELRO"
This variable appears to be incorrect as "_PKGSRC_USE_RELRO" is set in
bsd.prefs.mk. This was causing RELRO_SUPPORTED=no to not function as intended
in lang/go/go-vars.mk
ok'd by jperkin
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-relro.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/check/check-relro.mk b/mk/check/check-relro.mk index 9af82056519..61c7ab51587 100644 --- a/mk/check/check-relro.mk +++ b/mk/check/check-relro.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-relro.mk,v 1.4 2020/03/23 09:24:35 jperkin Exp $ +# $NetBSD: check-relro.mk,v 1.5 2021/02/01 16:03:49 tpaul Exp $ # # This file verifies that RELRO (read-only relocations) was applied # accordingly at build-time. @@ -29,7 +29,7 @@ _VARGROUPS+= check-relro _USER_VARS.check-relro= CHECK_RELRO _PKG_VARS.check-relro= CHECK_RELRO_SUPPORTED -.if ${PKGSRC_USE_RELRO:Uno} != "no" && \ +.if ${_PKGSRC_USE_RELRO:Uno} != "no" && \ ${PKG_DEVELOPER:Uno} != "no" CHECK_RELRO?= yes .else |