summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/gcc-uclibc-3.x.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-12 15:14:46 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-12 15:14:46 +0000
commitd89d54541ee61ff18c566a8c8e1fa7db04082637 (patch)
treef562b9b5357d99144ac4d3ddb2e276f44a6b7a32 /toolchain/gcc/gcc-uclibc-3.x.mk
parent191d0518b9967a64fa8f947a5b042b4c162752ca (diff)
downloadbuildroot-novena-d89d54541ee61ff18c566a8c8e1fa7db04082637.tar.gz
buildroot-novena-d89d54541ee61ff18c566a8c8e1fa7db04082637.zip
Do not copy shared C++ lib, unless one is built
Diffstat (limited to 'toolchain/gcc/gcc-uclibc-3.x.mk')
-rw-r--r--toolchain/gcc/gcc-uclibc-3.x.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index 6d615f664..b8309b7fa 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -337,9 +337,11 @@ ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
endif
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
endif
+endif
ifeq ($(BR2_INSTALL_LIBGCJ),y)
cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/usr/lib/