summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads_db/Makefile.in
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-22 11:41:17 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-22 11:41:17 +0000
commitf58f2ddacc7a66415b8b3d7029a28c338e833e9f (patch)
tree70b3893ff01f1f1237784dbc79c0101b8f359212 /libpthread/linuxthreads_db/Makefile.in
parente89c8ed01e42b2c18cccfd03920702e43668e62e (diff)
Made it possible to build without stripping the binaries.
Diffstat (limited to 'libpthread/linuxthreads_db/Makefile.in')
-rw-r--r--libpthread/linuxthreads_db/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libpthread/linuxthreads_db/Makefile.in b/libpthread/linuxthreads_db/Makefile.in
index 06106e8af..3d179a402 100644
--- a/libpthread/linuxthreads_db/Makefile.in
+++ b/libpthread/linuxthreads_db/Makefile.in
@@ -8,7 +8,10 @@
# Get the thread include dependencies and shared object name
CFLAGS-linuxthreads_db := -DNOT_IN_libc -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\""
-LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s $(call check_ld,--warn-unresolved-symbols)
+LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) $(call check_ld,--warn-unresolved-symbols)
+ifneq ($(NOSTRIP),y)
+LDFLAGS-libthread_db.so += -s
+endif
LIBS-libthread_db.so := $(LIBS)