pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/platform



Module Name:    pkgsrc
Committed By:   khorben
Date:           Fri Jun  9 17:04:18 UTC 2017

Modified Files:
        pkgsrc/mk/platform: Linux.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 pkgsrc/mk/platform/Linux.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/platform/Linux.mk
diff -u pkgsrc/mk/platform/Linux.mk:1.73 pkgsrc/mk/platform/Linux.mk:1.74
--- pkgsrc/mk/platform/Linux.mk:1.73    Fri Jun  9 16:56:26 2017
+++ pkgsrc/mk/platform/Linux.mk Fri Jun  9 17:04:18 2017
@@ -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 @@ _OPSYS_MAX_CMDLEN_CMD?=    /usr/bin/getconf
 # 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