aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Steven Siloti <ssiloti@gmail.com> 2010-09-03 22:58:21 -0700
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-09-04 20:11:38 +0100
commit4d0a770757e430cb2e972ea8aefd09d3294c2ce3 (patch)
tree0636a9e8e9922c74b075131b3124f15073343f3e
parentb69a5e695c08e63b78034f38ec1a1f603e2253e2 (diff)
downloadpaludis-4d0a770757e430cb2e972ea8aefd09d3294c2ce3.tar.gz
paludis-4d0a770757e430cb2e972ea8aefd09d3294c2ce3.tar.xz
fix parameter order when adding gnu-debuglink
-rw-r--r--paludis/stripper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/stripper.cc b/paludis/stripper.cc
index 7ead70b..320d7a8 100644
--- a/paludis/stripper.cc
+++ b/paludis/stripper.cc
@@ -170,7 +170,7 @@ Stripper::do_split(const FSPath & f, const FSPath & g)
}
Process objcopy_copy_process(ProcessCommand({ "objcopy", "--only-keep-debug", stringify(f), stringify(g) }));
- Process objcopy_link_process(ProcessCommand({ "objcopy", "--add-gnu-debuglink=" + stringify(f), stringify(g) }));
+ Process objcopy_link_process(ProcessCommand({ "objcopy", "--add-gnu-debuglink=" + stringify(g), stringify(f) }));
if (0 != objcopy_copy_process.run().wait())
Log::get_instance()->message("strip.failure", ll_warning, lc_context) << "Couldn't copy debug information for '" << f << "'";
else if (0 != objcopy_link_process.run().wait())