This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
40 lines
899 B
Makefile
40 lines
899 B
Makefile
# $FreeBSD$
|
|
|
|
MAN=
|
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
.PATH: ${SVNDIR}/svnadmin
|
|
|
|
PROG= svn${SVNLITE}admin
|
|
|
|
SRCS= svnadmin.c
|
|
|
|
CFLAGS+=-I${SVNDIR}/include -I${SVNDIR} -I${.CURDIR}/.. \
|
|
-I${.CURDIR}/../lib/libapr \
|
|
-I${APR}/include/arch/unix \
|
|
-I${APR}/include \
|
|
-I${.CURDIR}/../lib/libapr_util \
|
|
-I${APRU}/include/private \
|
|
-I${APRU}/include
|
|
|
|
LDADD= -L${LIBSVN_REPOSDIR} -lsvn_repos \
|
|
-L${LIBSVN_FSDIR} -lsvn_fs \
|
|
-L${LIBSVN_FS_FSDIR} -lsvn_fs_fs \
|
|
-L${LIBSVN_FS_UTILDIR} -lsvn_fs_util \
|
|
-L${LIBSVN_DELTADIR} -lsvn_delta \
|
|
-L${LIBSVN_SUBRDIR} -lsvn_subr \
|
|
-L${LIBAPR_UTILDIR} -lapr-util \
|
|
-lbsdxml \
|
|
-L${LIBAPRDIR} -lapr \
|
|
-L${LIBSQLITEDIR} -lsqlite3 \
|
|
-lz -lcrypt
|
|
|
|
DPADD= ${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} \
|
|
${LIBSVN_DELTA} ${LIBSVN_SUBR} ${LIBAPR_UTIL} \
|
|
${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} ${LIBZ} ${LIBCRYPT}
|
|
|
|
NO_PIE= yes
|
|
|
|
.include <bsd.prog.mk>
|