aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 21:18:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 21:18:18 +0000
commitee5a34ecba51f02e3bf46b112e265abf976f39b6 (patch)
tree569e9832fa3d4775e3b8244ea1f09d4307418368 /libexec/rtld-elf/Makefile
parent8794b8a783923e2335c30f700e3a9db146c64ee6 (diff)
Notes
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index cc301328fb39b..09dc4ab968c93 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -43,16 +43,14 @@ CFLAGS+= -fpic
.endif
CFLAGS+= -DPIC $(DEBUG)
LDFLAGS+= -shared -Wl,-Bsymbolic
-DPADD= ${LIBC_PIC}
-LDADD= -lc_pic
+LIBADD= c_pic
.if ${MACHINE_CPUARCH} == "arm"
# Some of the required math functions (div & mod) are implemented in
# libcompiler_rt on ARM. The library also needs to be placed first to be
# correctly linked. As some of the functions are used before we have
# shared libraries.
-DPADD+= ${LIBCOMPILER_RT}
-LDADD+= -lcompiler_rt
+LIBADD+= compiler_rt
.endif