Libthr cannot be dynamically loaded into the running process.

Mark it with -z nodlopen for now.

Discussed with:	jhb, kan
MFC after:	3 weeks
This commit is contained in:
Konstantin Belousov 2009-11-26 14:01:14 +00:00
parent 0d3bc8a930
commit 86665365a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199830

View File

@ -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