1# SSP Support
2
3.if !defined(_SSP_MK_INCLUDED)
4_SSP_MK_INCLUDED=	yes
5SSP_Include_MAINTAINER=	ports@MidnightBSD.org
6
7.  if !defined(SSP_UNSAFE) && \
8    (! ${ARCH:Mmips*})
9# Overridable as a user may want to use -fstack-protector-all
10SSP_CFLAGS?=	-fstack-protector-strong
11CFLAGS+=	${SSP_CFLAGS}
12LDFLAGS+=	${SSP_CFLAGS}
13.  endif
14.endif
15