summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/EbuildPhase.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-13 14:34:58 -0500
committerMike Frysinger <vapier@gentoo.org>2012-01-14 16:37:24 -0500
commit3ae079dc5650e5af73516198b429d56d9131d637 (patch)
tree86cec4fe177af39d1860ce126d79b3de3edf08a9 /pym/_emerge/EbuildPhase.py
parentac263977391643f1c147d7e767b5b804ac095d55 (diff)
downloadportage-3ae079dc5650e5af73516198b429d56d9131d637.tar.gz
portage-3ae079dc5650e5af73516198b429d56d9131d637.tar.bz2
portage-3ae079dc5650e5af73516198b429d56d9131d637.zip
add support for compressing debug sections to save space
Since binutils/gdb can compress the .debug* sections with zlib into .zdebug*, we should be able to save quite a bit of space -- on my system, I saw /usr/lib/debug/ go from ~20GB to ~7.5GB. This requires binutils/gdb to be built with USE=zlib which is why this defaults to off. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'pym/_emerge/EbuildPhase.py')
-rw-r--r--pym/_emerge/EbuildPhase.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/_emerge/EbuildPhase.py b/pym/_emerge/EbuildPhase.py
index ed0be0b0e..27944f413 100644
--- a/pym/_emerge/EbuildPhase.py
+++ b/pym/_emerge/EbuildPhase.py
@@ -33,11 +33,13 @@ class EbuildPhase(CompositeTask):
("_ebuild_lock",)
# FEATURES displayed prior to setup phase
- _features_display = ("ccache", "distcc", "distcc-pump", "fakeroot",
+ _features_display = (
+ "ccache", "compressdebug", "distcc", "distcc-pump", "fakeroot",
"installsources", "keeptemp", "keepwork", "nostrip",
"preserve-libs", "sandbox", "selinux", "sesandbox",
"splitdebug", "suidctl", "test", "userpriv",
- "usersandbox")
+ "usersandbox"
+ )
# Locked phases
_locked_phases = ("setup", "preinst", "postinst", "prerm", "postrm")