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 FORTIFY on Linux



details:   https://anonhg.NetBSD.org/pkgsrc/rev/162058eba636
branches:  trunk
changeset: 363442:162058eba636
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Fri Jun 09 16:56:26 2017 +0000

description:
Register support for FORTIFY on Linux

Tested on Debian GNU/Linux 8.8 (amd64).

Actual support will depend on the underlying distribution though.

diffstat:

 mk/platform/Linux.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 33328a905996 -r 162058eba636 mk/platform/Linux.mk
--- a/mk/platform/Linux.mk      Fri Jun 09 16:55:10 2017 +0000
+++ b/mk/platform/Linux.mk      Fri Jun 09 16:56:26 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.72 2017/02/01 10:00:17 sevan Exp $
+# $NetBSD: Linux.mk,v 1.73 2017/06/09 16:56:26 khorben Exp $
 #
 # Variable definitions for the Linux operating system.
 
@@ -119,6 +119,9 @@
 _OPSYS_MAX_CMDLEN_CMD?=        /usr/bin/getconf ARG_MAX
 .endif
 
+# Register support for FORTIFY (with GCC)
+_OPSYS_SUPPORTS_FORTIFY=yes
+
 .if ${MACHINE_ARCH} == "x86_64"
 ABI?=          64
 LIBABISUFFIX?= 64



Home | Main Index | Thread Index | Old Index