summaryrefslogtreecommitdiff
path: root/Mk/bsd.ssp.mk
blob: dade3e490b58a01617650951159d8100e2ff8e3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# $FreeBSD$
# SSP Support

SSP_Include_MAINTAINER=	portmgr@FreeBSD.org

.if !defined(SSP_UNSAFE) && \
    (! ${ARCH:Mmips*})
# Overridable as a user may want to use -fstack-protector-all
SSP_CFLAGS?=	-fstack-protector-strong
CFLAGS+=	${SSP_CFLAGS}
LDFLAGS+=	${SSP_CFLAGS}
.endif