We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c29cc8 + 283619c commit 352ad62Copy full SHA for 352ad62
src/bootstrap/builder.rs
@@ -1291,7 +1291,7 @@ impl<'a> Builder<'a> {
1291
// efficient initial-exec TLS model. This doesn't work with `dlopen`,
1292
// so we can't use it by default in general, but we can use it for tools
1293
// and our own internal libraries.
1294
- if !mode.must_support_dlopen() {
+ if !mode.must_support_dlopen() && !target.triple.starts_with("powerpc-") {
1295
rustflags.arg("-Ztls-model=initial-exec");
1296
}
1297
0 commit comments