We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc08641 commit 283619cCopy full SHA for 283619c
src/bootstrap/builder.rs
@@ -1237,7 +1237,7 @@ impl<'a> Builder<'a> {
1237
// efficient initial-exec TLS model. This doesn't work with `dlopen`,
1238
// so we can't use it by default in general, but we can use it for tools
1239
// and our own internal libraries.
1240
- if !mode.must_support_dlopen() {
+ if !mode.must_support_dlopen() && !target.triple.starts_with("powerpc-") {
1241
rustflags.arg("-Ztls-model=initial-exec");
1242
}
1243
0 commit comments