<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8cef60cb25400ec8f3946529d89dc86b61a940bf">https://github.com/macports/macports-ports/commit/8cef60cb25400ec8f3946529d89dc86b61a940bf</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8cef60cb25400ec8f3946529d89dc86b61a940bf
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Oct 21 21:03:31 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> cxx11 PG: ensure desired compiler flags are present
</span>---
_resources/port1.0/group/cxx11-1.1.tcl | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/cxx11-1.1.tcl b/_resources/port1.0/group/cxx11-1.1.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index f9b7534..45cef1e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/cxx11-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/cxx11-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,6 +48,13 @@ if {${cxx_stdlib} eq "libstdc++" } {
</span> global os.major
# see https://trac.macports.org/ticket/54766
depends_lib-append port:libgcc
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ensure desired compiler flags are present
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-delete -D_GLIBCXX_USE_CXX11_ABI=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -D_GLIBCXX_USE_CXX11_ABI=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcxxflags-delete -D_GLIBCXX_USE_CXX11_ABI=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcxxflags-append -D_GLIBCXX_USE_CXX11_ABI=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
# do not force all Portfiles to switch from depends_lib to depends_lib-append
port::register_callback register_gcc_dependents
</pre><pre style='margin:0'>
</pre>