diff options
author | deischen <deischen@FreeBSD.org> | 2007-05-13 14:12:40 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2007-05-13 14:12:40 +0000 |
commit | bf3a79274dac1f6f74c4a1d126e3fb098ac9fc6c (patch) | |
tree | cedba41bbd60d21fa5e0f68f5e71c480784553bb /libexec | |
parent | b8fdd70fefcae4b85366907c61409d531b3ec165 (diff) | |
download | FreeBSD-src-bf3a79274dac1f6f74c4a1d126e3fb098ac9fc6c.zip FreeBSD-src-bf3a79274dac1f6f74c4a1d126e3fb098ac9fc6c.tar.gz |
Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it.
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).
Change the default thread library to libthr.
There most likely still needs to be a version bump for at least the
thread libraries. If necessary, this will happen later.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 75203e3..1d8c3ca 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <bsd.own.mk> + PROG?= ld-elf.so.1 SRCS= rtld_start.S \ reloc.c rtld.c rtld_lock.c map_object.c \ @@ -21,7 +23,7 @@ LDFLAGS+= -shared -Wl,-Bsymbolic DPADD= ${LIBC_PIC} LDADD= -lc_pic -.if defined(SYMVER_ENABLED) +.if ${MK_SYMVER} == "yes" LIBCDIR= ${.CURDIR}/../../lib/libc VERSION_DEF= ${LIBCDIR}/Versions.def SYMBOL_MAPS= ${.CURDIR}/Symbol.map |