diff options
author | 2010-09-03 22:58:21 -0700 | |
---|---|---|
committer | 2010-09-04 20:11:38 +0100 | |
commit | 4d0a770757e430cb2e972ea8aefd09d3294c2ce3 (patch) | |
tree | 0636a9e8e9922c74b075131b3124f15073343f3e /paludis/stripper.cc | |
parent | b69a5e695c08e63b78034f38ec1a1f603e2253e2 (diff) | |
download | paludis-4d0a770757e430cb2e972ea8aefd09d3294c2ce3.tar.gz paludis-4d0a770757e430cb2e972ea8aefd09d3294c2ce3.tar.xz |
fix parameter order when adding gnu-debuglink
Diffstat (limited to 'paludis/stripper.cc')
-rw-r--r-- | paludis/stripper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/stripper.cc b/paludis/stripper.cc index 7ead70b3e..320d7a878 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()) |