diff options
author | Wolfgang Müller | 2021-05-16 10:37:27 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-05-16 10:37:27 +0200 |
commit | 299c0221a1607f763525671ab9f7f4fef299f57a (patch) | |
tree | 18d574d945821760c5caf768ae81d3a106e9b052 | |
parent | 9bc5cd4844c5e82bb6e866aca64b6bbb444b674f (diff) | |
download | portage-roles-299c0221a1607f763525671ab9f7f4fef299f57a.tar.gz |
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.
-rw-r--r-- | group-base/env/debug | 2 |
1 files changed, 1 insertions, 1 deletions
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" |