summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old_db/Makefile.in
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-22 09:58:36 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-22 09:58:36 +0000
commit749dbd6ec8283fb1c31379596d6c8be6f52eb3c7 (patch)
tree12b04042a92cd57aebd2edda8e845e1118c5eb9c /libpthread/linuxthreads.old_db/Makefile.in
parent4646645b535aa02181d6ae9b8f042f9f9bfec239 (diff)
* Made it possible to dynamically check for supported linker options
using the check_ld function. * Only use --warn-unresolved-symbols with linkers that support it.
Diffstat (limited to 'libpthread/linuxthreads.old_db/Makefile.in')
-rw-r--r--libpthread/linuxthreads.old_db/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old_db/Makefile.in b/libpthread/linuxthreads.old_db/Makefile.in
index 0c5f7585a..d01db5168 100644
--- a/libpthread/linuxthreads.old_db/Makefile.in
+++ b/libpthread/linuxthreads.old_db/Makefile.in
@@ -8,7 +8,7 @@
# Get the thread include dependencies and shared object name
CFLAGS-linuxthreads.old_db := -DNOT_IN_libc -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\""
-LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s --warn-unresolved-symbols
+LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s $(call check_ld,--warn-unresolved-symbols)
LIBS-libthread_db.so := $(LIBS)