summaryrefslogtreecommitdiffstats
path: root/lib/libthr/Makefile
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-11-26 14:01:14 +0000
committerkib <kib@FreeBSD.org>2009-11-26 14:01:14 +0000
commitac889796667ed236a1f32e354f7372c70ea0f881 (patch)
treee81f6a525056080e5e500e27c9d79518066452a2 /lib/libthr/Makefile
parent8f8a9dcd1713ee26a3f4d2d33ff72b08588a6636 (diff)
downloadFreeBSD-src-ac889796667ed236a1f32e354f7372c70ea0f881.zip
FreeBSD-src-ac889796667ed236a1f32e354f7372c70ea0f881.tar.gz
Libthr cannot be dynamically loaded into the running process.
Mark it with -z nodlopen for now. Discussed with: jhb, kan MFC after: 3 weeks
Diffstat (limited to 'lib/libthr/Makefile')
-rw-r--r--lib/libthr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index ee981d8..b4ec8fe 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -25,7 +25,7 @@ CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH}
CFLAGS+=-I${.CURDIR}/../libthread_db
CFLAGS+=-Winline
-LDFLAGS+=-Wl,-znodelete
+LDFLAGS+=-Wl,-znodelete -Wl,-znodlopen
VERSION_DEF=${.CURDIR}/../libc/Versions.def
SYMBOL_MAPS=${.CURDIR}/pthread.map
OpenPOWER on IntegriCloud