浏览代码

toolchain: reproducible libstdcpp

A Python script containing an unreproducible path is copied by default.
Remove it before generating the package.

Signed-off-by: Paul Spooren <[email protected]>
Paul Spooren 3 年之前
父节点
当前提交
950bd40a27
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package/libs/toolchain/Makefile

+ 2 - 1
package/libs/toolchain/Makefile

@@ -7,7 +7,7 @@
 
 
 include $(TOPDIR)/rules.mk
 include $(TOPDIR)/rules.mk
 PKG_NAME:=toolchain
 PKG_NAME:=toolchain
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 
 PKG_MAINTAINER:=Felix Fietkau <[email protected]>
 PKG_MAINTAINER:=Felix Fietkau <[email protected]>
 PKG_LICENSE:=GPL-3.0-with-GCC-exception
 PKG_LICENSE:=GPL-3.0-with-GCC-exception
@@ -490,6 +490,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
   define Package/libstdcpp/install
   define Package/libstdcpp/install
 	$(INSTALL_DIR) $(1)/usr/lib
 	$(INSTALL_DIR) $(1)/usr/lib
 	$(CP) $(TOOLCHAIN_DIR)/lib/libstdc++.so.* $(1)/usr/lib/
 	$(CP) $(TOOLCHAIN_DIR)/lib/libstdc++.so.* $(1)/usr/lib/
+	rm -rf $(1)/usr/lib/*-gdb.py
   endef
   endef
 
 
   define Package/libasan/install
   define Package/libasan/install