summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-10-03 13:18:00 +0000
committerjperkin <jperkin@pkgsrc.org>2017-10-03 13:18:00 +0000
commit604960d6d4d6b705851f2e3ae3f78f0e478b2af9 (patch)
treed91911bc9302f7e8a16e2f0c6ccb36ef74ff12c5 /mk
parentdc6361ae9c78275a89a2ed599241ea1affa004ee (diff)
downloadpkgsrc-604960d6d4d6b705851f2e3ae3f78f0e478b2af9.tar.gz
mk: Disable SSP checks on systems where it is provided in libc.
The currently implementation of SSP checks simply look for a DT_NEEDED dependency on libssp, and doesn't yet have a way to check for it being enabled when it is done via libc.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/FreeBSD.mk3
-rw-r--r--mk/platform/Linux.mk3
-rw-r--r--mk/platform/NetBSD.mk3
3 files changed, 6 insertions, 3 deletions
diff --git a/mk/platform/FreeBSD.mk b/mk/platform/FreeBSD.mk
index 1ef291df4fa..fac7fc22486 100644
--- a/mk/platform/FreeBSD.mk
+++ b/mk/platform/FreeBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: FreeBSD.mk,v 1.35 2017/05/31 22:55:01 jlam Exp $
+# $NetBSD: FreeBSD.mk,v 1.36 2017/10/03 13:18:00 jperkin Exp $
#
# Variable definitions for the FreeBSD operating system.
@@ -79,6 +79,7 @@ _OPSYS_SUPPORTS_SSP= yes
_OPSYS_SUPPORTS_CWRAPPERS= yes
_OPSYS_CAN_CHECK_SHLIBS= yes # use readelf in check/bsd.check-vars.mk
+_OPSYS_CAN_CHECK_SSP= no # only supports libssp at this time
# check for maximum command line length and set it in configure's environment,
# to avoid a test required by the libtool script that takes forever.
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk
index 594c750b438..ff639bf31f4 100644
--- a/mk/platform/Linux.mk
+++ b/mk/platform/Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.76 2017/08/04 08:59:20 jperkin Exp $
+# $NetBSD: Linux.mk,v 1.77 2017/10/03 13:18:00 jperkin Exp $
#
# Variable definitions for the Linux operating system.
@@ -112,6 +112,7 @@ _STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip
_OPSYS_SUPPORTS_CWRAPPERS= yes
_OPSYS_CAN_CHECK_SHLIBS= yes # use readelf in check/bsd.check-vars.mk
+_OPSYS_CAN_CHECK_SSP= no # only supports libssp at this time
# check for maximum command line length and set it in configure's environment,
# to avoid a test required by the libtool script that takes forever.
diff --git a/mk/platform/NetBSD.mk b/mk/platform/NetBSD.mk
index 1829a974e54..0f863997e11 100644
--- a/mk/platform/NetBSD.mk
+++ b/mk/platform/NetBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.55 2017/08/07 23:54:09 maya Exp $
+# $NetBSD: NetBSD.mk,v 1.56 2017/10/03 13:18:00 jperkin Exp $
#
# Variable definitions for the NetBSD operating system.
@@ -161,6 +161,7 @@ _OPSYS_SUPPORTS_CWRAPPERS= yes
# use readelf in check/bsd.check-vars.mk
_OPSYS_CAN_CHECK_RELRO= yes
_OPSYS_CAN_CHECK_SHLIBS= yes
+_OPSYS_CAN_CHECK_SSP= no # only supports libssp at this time
# check for maximum command line length and set it in configure's environment,
# to avoid a test required by the libtool script that takes forever.