diff options
author | davidxu <davidxu@FreeBSD.org> | 2009-03-31 02:50:18 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2009-03-31 02:50:18 +0000 |
commit | 949d94d036bd50e48c8f869e547ccf20c638b2d7 (patch) | |
tree | d26d89c9b599bc5058069be9288edef31833a88e /lib/libthr/Makefile | |
parent | 1693b220556c87908d97a0688045000b3b0e1d77 (diff) | |
download | FreeBSD-src-949d94d036bd50e48c8f869e547ccf20c638b2d7.zip FreeBSD-src-949d94d036bd50e48c8f869e547ccf20c638b2d7.tar.gz |
Turn on nodelete linker flag because libthr can not be unloaded safely,
it does hook on to libc.
Diffstat (limited to 'lib/libthr/Makefile')
-rw-r--r-- | lib/libthr/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index eba30d8..ee981d8 100644 --- a/lib/libthr/Makefile +++ b/lib/libthr/Makefile @@ -25,6 +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 VERSION_DEF=${.CURDIR}/../libc/Versions.def SYMBOL_MAPS=${.CURDIR}/pthread.map |