From ac889796667ed236a1f32e354f7372c70ea0f881 Mon Sep 17 00:00:00 2001 From: kib Date: Thu, 26 Nov 2009 14:01:14 +0000 Subject: Libthr cannot be dynamically loaded into the running process. Mark it with -z nodlopen for now. Discussed with: jhb, kan MFC after: 3 weeks --- lib/libthr/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libthr/Makefile') 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 -- cgit v1.1