Sfoglia il codice sorgente

This was for when I was building a toolchain without BR2_TOOLCHAIN_SYSROOT set. Maybe when it is set the C++ libraries get put into $(TARGET_DIR)/lib. If that is the case, then an 'if-else' block will need to be placed to strip the right location.

"Steven J. Hill" 18 anni fa
parent
commit
3b2d671335
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      toolchain/gcc/gcc-uclibc-3.x.mk

+ 1 - 1
toolchain/gcc/gcc-uclibc-3.x.mk

@@ -306,7 +306,7 @@ ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstdc++.so*
+	$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/