summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-08-04 08:53:33 +0000
committerjperkin <jperkin@pkgsrc.org>2017-08-04 08:53:33 +0000
commitf82764e2dc2c9391e0f72fef4075d69f8a8f43b5 (patch)
treebc216792399067b81ff89af77f6619c4d3cb2c52
parent132ac03ef4146e03c3c65d3d5defa0a09ab48a4b (diff)
downloadpkgsrc-f82764e2dc2c9391e0f72fef4075d69f8a8f43b5.tar.gz
Remove obsolete and unused SunOS fortify section.
-rw-r--r--mk/compiler/gcc.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index bcfc3ed610c..b7dcf859953 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -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_CFLAGS.gcc= -fPIC
#_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}