From bf3a79274dac1f6f74c4a1d126e3fb098ac9fc6c Mon Sep 17 00:00:00 2001 From: deischen Date: Sun, 13 May 2007 14:12:40 +0000 Subject: 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. --- libexec/rtld-elf/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libexec/rtld-elf/Makefile') 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 + 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 -- cgit v1.1