toolchain: reproducible libstdcpp
authorPaul Spooren <mail@aparcar.org>
Thu, 31 Mar 2022 16:13:37 +0000 (17:13 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 6 Apr 2022 12:59:44 +0000 (13:59 +0100)
A Python script containing an unreproducible path is copied by default.
Remove it before generating the package.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 950bd40a275d1a834c95d8f9830e1bfed4737a82)

package/libs/toolchain/Makefile

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