Skip to content

Commit

Permalink
Add soon-to-be-default --no-undefined-version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
chbaker0 committed Mar 10, 2023
1 parent 39f2657 commit 9bb87eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_codegen_ssa/src/back/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ impl<'a> Linker for GccLinker<'a> {
let mut arg = OsString::from("--version-script=");
arg.push(path);
self.linker_arg(arg);
self.linker_arg("--no-undefined-version");
}
}
}
Expand Down

0 comments on commit 9bb87eb

Please sign in to comment.