Browse Source

gcc: Use strip instead of sstrip as sstrip somehow stops the on-target compilation from working properly.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
Christian Beier 10 years ago
parent
commit
372787d29b
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      devel/gcc/Makefile

+ 5
- 5
devel/gcc/Makefile View File

@@ -27,15 +27,15 @@ TARGET_LANGUAGES:="c,c++"
27 27
 BUGURL=https://dev.openwrt.org/
28 28
 PKGVERSION=OpenWrt GCC $(PKG_VERSION)
29 29
 
30
-STRIP:=$(STAGING_DIR_HOST)/bin/sstrip
30
+# not using sstrip here as this fucks up the .so's somehow
31
+STRIP:=$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)strip
31 32
 RSTRIP:= \
32
-       NM="$(TARGET_CROSS)nm" \
33
-       STRIP="$(STRIP) --strip-debug" \
34
-       STRIP_KMOD="$(TARGET_CROSS)strip --strip-debug" \
33
+       NM="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)nm" \
34
+       STRIP="$(STRIP)" \
35
+       STRIP_KMOD="$(STRIP) --strip-debug" \
35 36
        $(SCRIPT_DIR)/rstrip.sh
36 37
 
37 38
 
38
-
39 39
 define Package/gcc
40 40
   SECTION:=devel
41 41
   CATEGORY:=Development