Adjust debug info stripping
This commit is contained in:
parent
f11611018f
commit
3957d3a08a
1 changed files with 3 additions and 2 deletions
|
@ -1605,8 +1605,9 @@ impl<'a> Linker for AixLinker<'a> {
|
||||||
fn debuginfo(&mut self, strip: Strip, _: &[PathBuf]) {
|
fn debuginfo(&mut self, strip: Strip, _: &[PathBuf]) {
|
||||||
match strip {
|
match strip {
|
||||||
Strip::None => {}
|
Strip::None => {}
|
||||||
Strip::Debuginfo => {}
|
// FIXME: -s strips the symbol table, line number information
|
||||||
Strip::Symbols => {
|
// and relocation information.
|
||||||
|
Strip::Debuginfo | Strip::Symbols => {
|
||||||
self.cmd.arg("-s");
|
self.cmd.arg("-s");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue