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