diff options
author | bapt <bapt@FreeBSD.org> | 2014-11-25 21:18:18 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-11-25 21:18:18 +0000 |
commit | 1f187793183f3d481e685f06b9d0776d38926bf7 (patch) | |
tree | 569e9832fa3d4775e3b8244ea1f09d4307418368 /libexec/rtld-elf/Makefile | |
parent | 84381fd9772c40ffd0f864ffb6db9a6f89e54fe0 (diff) | |
download | FreeBSD-src-1f187793183f3d481e685f06b9d0776d38926bf7.zip FreeBSD-src-1f187793183f3d481e685f06b9d0776d38926bf7.tar.gz |
Convert to LIBADD
Reduce overlinking
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r-- | libexec/rtld-elf/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index cc30132..09dc4ab 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 |