diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-09-22 00:26:05 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-09-22 00:26:05 +0000 |
commit | c6dc82531eb138f69e071b0aa695bb4b45d0bad3 (patch) | |
tree | c2709a82506eb7b66b31f17f21bbb01f220c3a1c /Mk/bsd.port.mk | |
parent | 3652c6c0c14536585ffb91059d2f2832ae545e18 (diff) | |
download | ports-c6dc82531eb138f69e071b0aa695bb4b45d0bad3.tar.gz ports-c6dc82531eb138f69e071b0aa695bb4b45d0bad3.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index b047f7a8ce2e..240304788d82 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -301,7 +301,8 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org # passed to the compiler by setting DEBUG_FLAGS. It is # set to "-g" at default. # -# WITH_SSP - If set, SSP_FLAGS (defaults to -fstack-protector) +# WITH_SSP_PORTS +# - If set, SSP_FLAGS (defaults to -fstack-protector) # is added to CFLAGS and the necessary flags # are added to LDFLAGS. Note that SSP_UNSAFE # can be used in Makefiles by port maintainers @@ -1570,7 +1571,7 @@ DEBUG_FLAGS?= -g CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} .endif -.if defined(WITH_SSP) +.if defined(WITH_SSP) || defined(WITH_SSP_PORTS) .include "${PORTSDIR}/Mk/bsd.ssp.mk" .endif |