summaryrefslogtreecommitdiff
path: root/mk/platform/SunOS.mk
diff options
context:
space:
mode:
authorkhorben <khorben>2016-03-11 23:54:08 +0000
committerkhorben <khorben>2016-03-11 23:54:08 +0000
commit2d04b1103a98faa8974d33675046e2ad5a82bb4d (patch)
tree93eeec2ad959273da46850805db37d2aa30f3a0d /mk/platform/SunOS.mk
parent2af1bf53dbb298b78b125bf7a8ceaefc194836a6 (diff)
downloadpkgsrc-2d04b1103a98faa8974d33675046e2ad5a82bb4d.tar.gz
Re-arrange support for FORTIFY/MKPIE/RELRO/SSP
- No _GCC_* anything in mk/bsd.prefs.mk; - No compiler flags in platform files. Tested again on NetBSD/amd64, with and without cwrappers, with the same outcome. With feedback from jperkin@
Diffstat (limited to 'mk/platform/SunOS.mk')
-rw-r--r--mk/platform/SunOS.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk
index 6c6d1ffe0fe..01ab39f2507 100644
--- a/mk/platform/SunOS.mk
+++ b/mk/platform/SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.70 2016/03/11 23:03:31 khorben Exp $
+# $NetBSD: SunOS.mk,v 1.71 2016/03/11 23:54:09 khorben Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -113,11 +113,9 @@ _OPSYS_INCLUDE_DIRS?= /usr/include
# support FORTIFY (with GCC)
_OPSYS_SUPPORTS_FORTIFY=yes
-_FORTIFY_CFLAGS.gcc= -D_FORTIFY_SOURCE=2
# support stack protection (with GCC)
_OPSYS_SUPPORTS_SSP= yes
-_SSP_CFLAGS.gcc= -fstack-protector
_OPSYS_CAN_CHECK_SHLIBS= yes # requires readelf