From 299c0221a1607f763525671ab9f7f4fef299f57a Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 16 May 2021 10:37:27 +0200 Subject: group-base: Split debugging information from executables Until now, debugging information was stored in the actual executables, bloating them a bit. Since GDB supports it, have debug info be split into separate files in /usr/lib/debug/ instead. This in turn also makes it possible to turn on 'compressdebug' which reduces file size size even further. Note that as per make.conf(5), 'splitdebug' needs 'nostrip' to be turned off to work. --- group-base/env/debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'group-base') diff --git a/group-base/env/debug b/group-base/env/debug index 64f2d1a..6e6c795 100644 --- a/group-base/env/debug +++ b/group-base/env/debug @@ -1,3 +1,3 @@ CFLAGS="${CFLAGS} -ggdb" CXXFLAGS="${CXXFLAGS} -ggdb" -FEATURES="${FEATURES} nostrip installsources" +FEATURES="${FEATURES} -nostrip compressdebug installsources splitdebug" -- cgit v1.2.3-2-gb3c3