aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-06-18 08:51:10 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-06-18 08:51:10 +0000
commit4098f22eb4139904e566f4ddc7f29d88e7300c97 (patch)
tree90dd4c66753393c520e52a161373bac897f28084 /toolchain
parent00f3b5c1f2877064f08a4c801bf02aab4dbe0f38 (diff)
downloadbuildroot-4098f22eb4139904e566f4ddc7f29d88e7300c97.tar.gz
buildroot-4098f22eb4139904e566f4ddc7f29d88e7300c97.tar.bz2
uclibc: only strip libpthread on 0.9.28.3 / not PTHREAD_DEBUG
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/uclibc.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index bd6806375c..626c504d55 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -524,7 +524,11 @@ $(TARGET_DIR)/lib/libc.so.0: $(STAGING_DIR)/usr/lib/libc.a
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/ \
install_runtime
- $(STRIPCMD) $(@D)/lib*.so*
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
+ifneq ($(BR2_PTHREAD_DEBUG),y)
+ -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(@D)/libpthread*.so*
+endif
+endif
touch -c $@
$(TARGET_DIR)/usr/bin/ldd: $(cross_compiler)