svn commit: r190585 - head/lib/libthr
David Xu
davidxu at FreeBSD.org
Mon Mar 30 19:50:19 PDT 2009
Author: davidxu
Date: Tue Mar 31 02:50:18 2009
New Revision: 190585
URL: http://svn.freebsd.org/changeset/base/190585
Log:
Turn on nodelete linker flag because libthr can not be unloaded safely,
it does hook on to libc.
Modified:
head/lib/libthr/Makefile
Modified: head/lib/libthr/Makefile
==============================================================================
--- head/lib/libthr/Makefile Tue Mar 31 02:29:42 2009 (r190584)
+++ head/lib/libthr/Makefile Tue Mar 31 02:50:18 2009 (r190585)
@@ -25,6 +25,7 @@ CFLAGS+=-I${.CURDIR}/../../libexec/rtld-
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
More information about the svn-src-all
mailing list