summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-04-25 15:04:59 +0400
committerAustin Foxley <austinf@cetoncorp.com>2010-04-25 09:39:43 -0700
commit6193eee290f612c13492923552dea193c80ded85 (patch)
tree748b1a0c2ce77ed59c919444481c257cdfc79a17 /libpthread
parent50d664a757b7a5ef1fd536ec00ea552ad9290315 (diff)
libpthread/nptl_db: define NOT_IN_libc
NPTL build for x86_64 failed with LD libthread_db-0.9.32-git.so .../ld: libpthread/nptl_db/libthread_db_so.a(td_ta_event_getmsg.oS): relocation R_X86_64_PC32 against undefined symbol `__GI_memset' can not be used when making a shared object; recompile with -fPIC Signed-off-by: Roman I Khimov <khimov@altell.ru> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/nptl_db/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl_db/Makefile.in b/libpthread/nptl_db/Makefile.in
index daaed0177..56f1b78c6 100644
--- a/libpthread/nptl_db/Makefile.in
+++ b/libpthread/nptl_db/Makefile.in
@@ -10,7 +10,7 @@ subdirs += libpthread/nptl/nptl_db
# Get the thread include dependencies and shared object name
CFLAGS-nptl_db := -DLIBPTHREAD_SO="\"libpthread.so.$(ABI_VERSION)\""
CFLAGS-nptl_db += -I$(top_srcdir)libpthread/nptl -D_GNU_SOURCE
-CFLAGS-nptl_db += -DIS_IN_libthread_db=1 -std=gnu99 -I$(top_srcdir)ldso/include
+CFLAGS-nptl_db += -DIS_IN_libthread_db=1 -DNOT_IN_libc -std=gnu99 -I$(top_srcdir)ldso/include
LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s --warn-unresolved-symbols