aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.ssp.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-11-02 20:01:31 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-11-02 20:01:31 +0000
commitec713d99b6af25c30e842e39916f298ef1a0e668 (patch)
treefff6797e92d48b34bf98661d511e5bfa6e44715b /Mk/bsd.ssp.mk
parent218fffb5b01c1e07c302f9f3a6e4801a0731a9cf (diff)
downloadports-ec713d99b6af25c30e842e39916f298ef1a0e668.tar.gz
ports-ec713d99b6af25c30e842e39916f298ef1a0e668.zip
- Enable SSP by default.
This is the culmination of years of work and testing including work by jlh@. This will enable SSP by default for all amd64 releases, and i386 releases 10.0 and over. With hat: portmgr Tested by: multiple exp-runs, CFT package repository, CFT ports Discussed with: bapt, antoine
Notes
Notes: svn path=/head/; revision=372086
Diffstat (limited to 'Mk/bsd.ssp.mk')
-rw-r--r--Mk/bsd.ssp.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.ssp.mk b/Mk/bsd.ssp.mk
index a62f898a82f7..5e944c0e0b21 100644
--- a/Mk/bsd.ssp.mk
+++ b/Mk/bsd.ssp.mk
@@ -16,7 +16,7 @@ SSP_UNSAFE= yes
SSP_NEED_NONSHARED= yes
.endif
-.if !defined(WITHOUT_SSP) && !defined(SSP_UNSAFE) && \
+.if !defined(SSP_UNSAFE) && \
(${ARCH} == i386 || ${ARCH} == amd64)
# Overridable as a user may want to use -fstack-protector-all
SSP_CFLAGS?= -fstack-protector