As usual with features, this can be activated/deactivated via WITH/WITHOUT_<feature> Each port can individually mark itself as not supporting the feature via <feature>_UNSAFE=
10 lines
188 B
Makefile
10 lines
188 B
Makefile
# RELRO Support
|
|
|
|
.if !defined(_RELRO_MK_INCLUDED)
|
|
_RELRO_MK_INCLUDED= yes
|
|
RELRO_Include_MAINTAINER= portmgr@FreeBSD.org
|
|
|
|
. if !defined(RELRO_UNSAFE)
|
|
LDFLAGS+= -Wl,-zrelro
|
|
. endif
|
|
.endif
|