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>
lilik-openwrt-22.03
Christian Beier 11 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++"
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


Loading…
Cancel
Save