From 372787d29b8a4ac02c8d4b24e48a9a54a1cafc50 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Tue, 12 Aug 2014 12:57:37 +0200 Subject: [PATCH] gcc: Use strip instead of sstrip as sstrip somehow stops the on-target compilation from working properly. Signed-off-by: Christian Beier --- devel/gcc/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/devel/gcc/Makefile b/devel/gcc/Makefile index 2eb1cfbbe..c8d87335e 100644 --- a/devel/gcc/Makefile +++ b/devel/gcc/Makefile @@ -27,15 +27,15 @@ TARGET_LANGUAGES:="c,c++" BUGURL=https://dev.openwrt.org/ PKGVERSION=OpenWrt GCC $(PKG_VERSION) -STRIP:=$(STAGING_DIR_HOST)/bin/sstrip +# not using sstrip here as this fucks up the .so's somehow +STRIP:=$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)strip RSTRIP:= \ - NM="$(TARGET_CROSS)nm" \ - STRIP="$(STRIP) --strip-debug" \ - STRIP_KMOD="$(TARGET_CROSS)strip --strip-debug" \ + NM="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)nm" \ + STRIP="$(STRIP)" \ + STRIP_KMOD="$(STRIP) --strip-debug" \ $(SCRIPT_DIR)/rstrip.sh - define Package/gcc SECTION:=devel CATEGORY:=Development