Revert "busybox: compile with debug information"

This reverts commit 582635b031.

The segfault issue has disappeared, so the workaround is not needed
anymore.
This commit is contained in:
Matthias Schiffer 2018-03-05 06:51:42 +01:00
parent d4bfa6c4e0
commit 0d07d179d8
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
38 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Mon, 3 Jul 2017 01:40:32 +0200
Subject: busybox: compile with debug information
The added debug information is stripped of during packaging, so it does not
increase the package size. It does however slightly change offsets in the
code, preventing the weird ash segfaults we've been seeing. Also, if the
issue returns, we'll have debug information matching the coredumps.
diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile
index 0d370863653e280165c8083061799af97d031169..5d73e817b3c67225bd3fb4e5b7d86e290db7397b 100644
--- a/package/utils/busybox/Makefile
+++ b/package/utils/busybox/Makefile
@@ -91,6 +91,8 @@ ifdef CONFIG_BUSYBOX_DEFAULT_NSLOOKUP_LEDE
endif
endif
+TARGET_CFLAGS += -g
+
define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \