mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
parent
1d447a9946
commit
a17211b05c
@ -626,7 +626,7 @@ impl<'a> Linker for GccLinker<'a> {
|
||||
// it does support --strip-all as a compatibility alias for -s.
|
||||
// The --strip-debug case is handled by running an external
|
||||
// `strip` utility as a separate step after linking.
|
||||
if self.sess.target.os != "illumos" {
|
||||
if !self.sess.target.is_like_solaris {
|
||||
self.linker_arg("--strip-debug");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user