1 | --- /opt/local/libexec/macports/lib/port1.0/portconfigure.tcl.orig 2023-12-13 16:50:11.000000000 +0900 |
---|
2 | +++ /opt/local/libexec/macports/lib/port1.0/portconfigure.tcl 2023-12-13 18:17:44.000000000 +0900 |
---|
3 | @@ -79,7 +79,7 @@ |
---|
4 | set is_clang [string match *clang* [option configure.cxx]] |
---|
5 | # GCC also supports -stdlib starting with GCC 10 (and devel) |
---|
6 | set is_gcc_with_stdlib no |
---|
7 | - if { [string match *g*-mp-* [option configure.cxx]] } { |
---|
8 | + if { [string match *g*-mp-* [option configure.cxx]] || [string match *gcc* [option configure.cxx]]} { |
---|
9 | # -stdlib is not available with PPC builds |
---|
10 | if { [option configure.build_arch] ni [list ppc ppc64] } { |
---|
11 | # Do not pass stdlib to gcc if it is MacPorts custom macports-libstdc++ setting |
---|