summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-08 12:25:41 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-08 12:25:41 +0000
commitf49d6cc82f7c4d8a16cd1708fe5df4a31d5f95e6 (patch)
treedb5a9856d171cf68126b9c1d7c6cb7233f650cae
parent467c57d651e0415349164ac828099d545627f823 (diff)
downloadportage-f49d6cc82f7c4d8a16cd1708fe5df4a31d5f95e6.tar.gz
portage-f49d6cc82f7c4d8a16cd1708fe5df4a31d5f95e6.tar.bz2
portage-f49d6cc82f7c4d8a16cd1708fe5df4a31d5f95e6.zip
Revert r3468 because this type of functionality belongs in profile.bashrc or an eclass.
svn path=/main/trunk/; revision=3469
-rw-r--r--pym/portage.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/pym/portage.py b/pym/portage.py
index d222e1c85..79271d36a 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1336,23 +1336,6 @@ class config:
if "usersandbox" in self.features:
self.features.remove("usersandbox")
- if "debug-build" in self.features:
- # the profile should be setting these, but just in case ...
- if not len(self["DEBUG_CFLAGS"]):
- self["DEBUG_CFLAGS"] = "-g -O"
- self.backup_changes("DEBUG_CFLAGS")
- if not len(self["DEBUG_CXXFLAGS"]):
- self["DEBUG_CXXFLAGS"] = self["DEBUG_CFLAGS"]
- self.backup_changes("DEBUG_CXXFLAGS")
- # replace user vars with debug version
- for var in ["CFLAGS","CXXFLAGS","LDFLAGS"]:
- self[var]=self["DEBUG_"+var]
- self.backup_changes(var)
- # if user has splitdebug, the debug info will be auto saved for
- # gdb, otherwise we want to keep the binaries from being stripped
- if not "splitdebug" in self.features:
- self.features.append("nostrip")
-
self.features.sort()
self["FEATURES"] = " ".join(self.features)
self.backup_changes("FEATURES")