pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform Register support for SSP on Linux (limited...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cecc5605a723
branches: trunk
changeset: 363445:cecc5605a723
user: khorben <khorben%pkgsrc.org@localhost>
date: Fri Jun 09 17:04:18 2017 +0000
description:
Register support for SSP on Linux (limited to x86 first)
Tested on Debian GNU/Linux 8.8 (amd64).
Actual support will depend on the underlying distribution though.
diffstat:
mk/platform/Linux.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r aa983da92917 -r cecc5605a723 mk/platform/Linux.mk
--- a/mk/platform/Linux.mk Fri Jun 09 17:02:44 2017 +0000
+++ b/mk/platform/Linux.mk Fri Jun 09 17:04:18 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.73 2017/06/09 16:56:26 khorben Exp $
+# $NetBSD: Linux.mk,v 1.74 2017/06/09 17:04:18 khorben Exp $
#
# Variable definitions for the Linux operating system.
@@ -122,6 +122,12 @@
# Register support for FORTIFY (with GCC)
_OPSYS_SUPPORTS_FORTIFY=yes
+# Register support for SSP on x86 architectures
+.if (${MACHINE_ARCH} == "i386") || \
+ (${MACHINE_ARCH} == "x86_64")
+_OPSYS_SUPPORTS_SSP= yes
+.endif
+
.if ${MACHINE_ARCH} == "x86_64"
ABI?= 64
LIBABISUFFIX?= 64
Home |
Main Index |
Thread Index |
Old Index