summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2007-05-13 14:12:40 +0000
committerdeischen <deischen@FreeBSD.org>2007-05-13 14:12:40 +0000
commitbf3a79274dac1f6f74c4a1d126e3fb098ac9fc6c (patch)
treecedba41bbd60d21fa5e0f68f5e71c480784553bb /libexec/rtld-elf/Makefile
parentb8fdd70fefcae4b85366907c61409d531b3ec165 (diff)
downloadFreeBSD-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/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile4
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
OpenPOWER on IntegriCloud