Skip to content

Commit a71cba7

Browse files
committed
strip underlying xcoff object
1 parent 3c877f6 commit a71cba7

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+2
-2
lines changed

compiler/rustc_codegen_ssa/src/back/link.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,11 +1090,11 @@ fn link_natively(
10901090
match strip {
10911091
Strip::Debuginfo => {
10921092
// FIXME: AIX's strip utility only offers option to strip line number information.
1093-
strip_with_external_utility(sess, stripcmd, out_filename, &["-X32_64", "-l"])
1093+
strip_with_external_utility(sess, stripcmd, temp_filename, &["-X32_64", "-l"])
10941094
}
10951095
Strip::Symbols => {
10961096
// Must be noted this option might remove symbol __aix_rust_metadata and thus removes .info section which contains metadata.
1097-
strip_with_external_utility(sess, stripcmd, out_filename, &["-X32_64", "-r"])
1097+
strip_with_external_utility(sess, stripcmd, temp_filename, &["-X32_64", "-r"])
10981098
}
10991099
Strip::None => {}
11001100
}

0 commit comments

Comments
 (0)