aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/svn/svnbench/Makefile
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-02-21 15:08:25 +0000
committerEd Maste <emaste@FreeBSD.org>2019-02-21 15:08:25 +0000
commit33c1ce3b72d96d4b5ea28cf90fe186fd85357ee4 (patch)
treef12813f2f05dd80efef1df53a2d1c7ce5c071dd0 /usr.bin/svn/svnbench/Makefile
parenta8bc5594db0cf7784e6bf299e59b28e37a73ae23 (diff)
downloadsrc-33c1ce3b72d96d4b5ea28cf90fe186fd85357ee4.tar.gz
src-33c1ce3b72d96d4b5ea28cf90fe186fd85357ee4.zip
svn: support building with WITH_PIE
Subversion builds and links against its own .a archives using local rules, so did not benefit from with the WITH_PIE library support added in r344179. Apply the same _pie suffix locally. Reviewed by: cem Differential Revision: https://reviews.freebsd.org/D19246
Notes
Notes: svn path=/head/; revision=344438
Diffstat (limited to 'usr.bin/svn/svnbench/Makefile')
-rw-r--r--usr.bin/svn/svnbench/Makefile34
1 files changed, 17 insertions, 17 deletions
diff --git a/usr.bin/svn/svnbench/Makefile b/usr.bin/svn/svnbench/Makefile
index 8fe07d7f40c5..728de8802d7f 100644
--- a/usr.bin/svn/svnbench/Makefile
+++ b/usr.bin/svn/svnbench/Makefile
@@ -19,23 +19,23 @@ CFLAGS+=-I${SVNDIR}/include -I${SVNDIR} -I${.CURDIR:H} \
-I${APRU}/include/private \
-I${APRU}/include
-LDADD= -L${LIBSVN_CLIENTDIR} -lsvn_client \
- -L${LIBSVN_WCDIR} -lsvn_wc \
- -L${LIBSVN_RADIR} -lsvn_ra \
- -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local \
- -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn \
- -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf \
- -L${LIBSVN_REPOSDIR} -lsvn_repos \
- -L${LIBSVN_FSDIR} -lsvn_fs \
- -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs \
- -L${LIBSVN_FS_XDIR} -lsvn_fs_x \
- -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util \
- -L${LIBSVN_DELTADIR} -lsvn_delta \
- -L${LIBSVN_DIFFDIR} -lsvn_diff \
- -L${LIBSVN_SUBRDIR} -lsvn_subr \
- -L${LIBSERFDIR} -lserf \
- -L${LIBAPR_UTILDIR} -lapr-util \
- -L${LIBAPRDIR} -lapr
+LDADD= -L${LIBSVN_CLIENTDIR} -lsvn_client${PIE_SUFFIX} \
+ -L${LIBSVN_WCDIR} -lsvn_wc${PIE_SUFFIX} \
+ -L${LIBSVN_RADIR} -lsvn_ra${PIE_SUFFIX} \
+ -L${LIBSVN_RA_LOCALDIR} -lsvn_ra_local${PIE_SUFFIX} \
+ -L${LIBSVN_RA_SVNDIR} -lsvn_ra_svn${PIE_SUFFIX} \
+ -L${LIBSVN_RA_SERFDIR} -lsvn_ra_serf${PIE_SUFFIX} \
+ -L${LIBSVN_REPOSDIR} -lsvn_repos${PIE_SUFFIX} \
+ -L${LIBSVN_FSDIR} -lsvn_fs${PIE_SUFFIX} \
+ -L${LIBSVN_FS_FSDIR} -lsvn_fs_fs${PIE_SUFFIX} \
+ -L${LIBSVN_FS_XDIR} -lsvn_fs_x${PIE_SUFFIX} \
+ -L${LIBSVN_FS_UTILDIR} -lsvn_fs_util${PIE_SUFFIX} \
+ -L${LIBSVN_DELTADIR} -lsvn_delta${PIE_SUFFIX} \
+ -L${LIBSVN_DIFFDIR} -lsvn_diff${PIE_SUFFIX} \
+ -L${LIBSVN_SUBRDIR} -lsvn_subr${PIE_SUFFIX} \
+ -L${LIBSERFDIR} -lserf${PIE_SUFFIX} \
+ -L${LIBAPR_UTILDIR} -lapr-util${PIE_SUFFIX} \
+ -L${LIBAPRDIR} -lapr${PIE_SUFFIX}
LIBADD+= bsdxml sqlite3 z magic crypto ssl pthread