[openwrt/openwrt] toolchain: reproducible libstdcpp

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 6 09:23:46 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/f56ddb0f588650927f65249462460595c683aee0

commit f56ddb0f588650927f65249462460595c683aee0
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Thu Mar 31 17:13:37 2022 +0100

    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 <mail at aparcar.org>
    (cherry picked from commit 950bd40a275d1a834c95d8f9830e1bfed4737a82)
---
 package/libs/toolchain/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile
index 682efd1970..f9f8ac956b 100644
--- a/package/libs/toolchain/Makefile
+++ b/package/libs/toolchain/Makefile
@@ -7,7 +7,7 @@
 
 include $(TOPDIR)/rules.mk
 PKG_NAME:=toolchain
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_MAINTAINER:=Felix Fietkau <nbd at 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




More information about the lede-commits mailing list