2013-09-20 14:54:54 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
# SSP Support
|
|
|
|
|
|
|
|
SSP_Include_MAINTAINER= portmgr@FreeBSD.org
|
|
|
|
|
2014-11-02 21:01:31 +01:00
|
|
|
.if !defined(SSP_UNSAFE) && \
|
2019-04-24 21:15:05 +02:00
|
|
|
(${MACHINE} != "mips")
|
2013-09-20 14:54:54 +02:00
|
|
|
# Overridable as a user may want to use -fstack-protector-all
|
2019-04-24 21:15:05 +02:00
|
|
|
SSP_CFLAGS?= -fstack-protector-strong
|
2014-08-16 23:18:49 +02:00
|
|
|
CFLAGS+= ${SSP_CFLAGS}
|
2019-04-24 21:15:05 +02:00
|
|
|
LDFLAGS+= ${SSP_CFLAGS}
|
2013-09-20 14:54:54 +02:00
|
|
|
.endif
|