<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d80103f03e4f99879bc76d318d455594f3a79533">https://github.com/macports/macports-ports/commit/d80103f03e4f99879bc76d318d455594f3a79533</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d80103f03e4f99879bc76d318d455594f3a79533
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Mon Nov 30 23:30:08 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> clang-11: needs TLS on all systems
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> it does not build without TLS, even with the
</span><span style='display:block; white-space:pre;color:#404040;'> previous workaround re-enabled
</span>---
lang/llvm-11/Portfile | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-11/Portfile b/lang/llvm-11/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1c7d2e8a304..72dc591156c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -353,6 +353,11 @@ platform darwin {
</span> configure.args-append -DCOMPILER_RT_BUILD_SANITIZERS=OFF
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} <= 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # needs thread_local_storage enabled
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants port:libcxx emulated_tls
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${os.major} <= 11} {
# xpc.h available 10.7 but doesn't support nullable features
# xpc.h works currently on 10.8+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -374,15 +379,6 @@ platform darwin {
</span> patchfiles-append leopard-no-blocks.patch
}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Proxy for eliminating the dependency on native TLS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # http://trac.macports.org/ticket/46887
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DLLVM_ENABLE_BACKTRACES=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://llvm.org/bugs/show_bug.cgi?id=25680
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxxflags-append -U__STRICT_ANSI__
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
if {${subport} eq "lldb-${llvm_version}"} {
</pre><pre style='margin:0'>
</pre>