gcc: Use strip instead of sstrip as sstrip somehow stops the on-target compilation...
authorChristian Beier <redacted>
Tue, 12 Aug 2014 10:57:37 +0000 (12:57 +0200)
committerChristian Beier <redacted>
Tue, 12 Aug 2014 10:57:37 +0000 (12:57 +0200)
Signed-off-by: Christian Beier <redacted>
devel/gcc/Makefile

index 2eb1cfbbe500bea9faa4d3c05f59501bd3d7f0fb..c8d87335e91c4c685a68edc5998210b46501d8f6 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT