aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-01-16 13:15:57 -0800
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-01-17 08:39:09 +0000
commitfb02bcd36356e1626d137a1c135e23d98c3f593d (patch)
treebd227a0b3a75622c3c1813b56504f95f1118963d
parentb3203f2ba9c8c92c1853a0a5bf039d0015615441 (diff)
downloadpaludis-fb02bcd36356e1626d137a1c135e23d98c3f593d.tar.gz
paludis-fb02bcd36356e1626d137a1c135e23d98c3f593d.tar.xz
stripper: dwarf_compress is not available for pbins
The strip phase is not executed for pbins. dwarf_compress is an option to control the emission of debug data, which is generated by the strip phase. Simply restrict the dwarf_compress option in the case that we are involved in a pbin resolution.
-rw-r--r--paludis/repositories/e/ebuild_id.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/repositories/e/ebuild_id.cc b/paludis/repositories/e/ebuild_id.cc
index e029f28..cc14446 100644
--- a/paludis/repositories/e/ebuild_id.cc
+++ b/paludis/repositories/e/ebuild_id.cc
@@ -1670,6 +1670,11 @@ EbuildID::add_build_options(const std::shared_ptr<Choices> & choices) const
build_options->add(std::make_shared<ELikeJobsChoiceValue>(
shared_from_this(), _imp->environment, build_options));
}
+
+ /* dwarf compression */
+ build_options->add(std::make_shared<ELikeDwarfCompressionChoiceValue>(shared_from_this(),
+ _imp->environment,
+ build_options));
}
else
{
@@ -1677,11 +1682,6 @@ EbuildID::add_build_options(const std::shared_ptr<Choices> & choices) const
mask_expensive_tests = true;
}
- /* dwarf compression */
- build_options->add(std::make_shared<ELikeDwarfCompressionChoiceValue>(shared_from_this(),
- _imp->environment,
- build_options));
-
/* optional_tests */
if (eapi()->supported()->choices_options()->has_optional_tests())
build_options->add(std::make_shared<ELikeOptionalTestsChoiceValue>(shared_from_this(), _imp->environment, build_options,