mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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>
This commit is contained in:
+5
-5
@@ -27,15 +27,15 @@ TARGET_LANGUAGES:="c,c++"
|
|||||||
BUGURL=https://dev.openwrt.org/
|
BUGURL=https://dev.openwrt.org/
|
||||||
PKGVERSION=OpenWrt GCC $(PKG_VERSION)
|
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:= \
|
RSTRIP:= \
|
||||||
NM="$(TARGET_CROSS)nm" \
|
NM="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)nm" \
|
||||||
STRIP="$(STRIP) --strip-debug" \
|
STRIP="$(STRIP)" \
|
||||||
STRIP_KMOD="$(TARGET_CROSS)strip --strip-debug" \
|
STRIP_KMOD="$(STRIP) --strip-debug" \
|
||||||
$(SCRIPT_DIR)/rstrip.sh
|
$(SCRIPT_DIR)/rstrip.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
define Package/gcc
|
define Package/gcc
|
||||||
SECTION:=devel
|
SECTION:=devel
|
||||||
CATEGORY:=Development
|
CATEGORY:=Development
|
||||||
|
|||||||
Reference in New Issue
Block a user