Explorar el Código

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 hace 10 años
padre
commit
372787d29b
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5
    5
      devel/gcc/Makefile

+ 5
- 5
devel/gcc/Makefile Ver fichero

@@ -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