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

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