pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Remove obsolete and unused SunOS fortify s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1097cf9fc054
branches:  trunk
changeset: 366150:1097cf9fc054
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Aug 04 08:53:33 2017 +0000

description:
Remove obsolete and unused SunOS fortify section.

diffstat:

 mk/compiler/gcc.mk |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r 2954857afe7c -r 1097cf9fc054 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Fri Aug 04 08:35:42 2017 +0000
+++ b/mk/compiler/gcc.mk        Fri Aug 04 08:53:33 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.181 2017/07/18 18:27:31 brook Exp $
+# $NetBSD: gcc.mk,v 1.182 2017/08/04 08:53:33 jperkin Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -339,10 +339,6 @@
 #_MKPIE_LDFLAGS.gcc=   -pie
 .endif
 
-.if ${OPSYS} == "SunOS"
-_FORTIFY_CFLAGS.gcc=   -D_FORTIFY_SOURCE=2
-.endif
-
 .if ${_PKGSRC_MKPIE} == "yes"
 _GCC_CFLAGS+=          ${_MKPIE_CFLAGS.gcc}
 _GCC_LDFLAGS+=         ${_MKPIE_LDFLAGS.gcc}



Home | Main Index | Thread Index | Old Index