Skip to content

Commit

Permalink
Check configure.cxx for stdlib decision
Browse files Browse the repository at this point in the history
It could be changed independently of configure.compiler.

(cherry picked from commit 326ab2a)
(cherry picked from commit 556a929)
  • Loading branch information
jmroot committed Jun 1, 2018
1 parent 7ba8b30 commit 20ef256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/port1.0/portconfigure.tcl
Expand Up @@ -99,8 +99,8 @@ proc portconfigure::stdlib_trace {opt action args} {
return
}
proc portconfigure::configure_get_cxx_stdlib {} {
global cxx_stdlib configure.compiler
if {![string match macports-gcc-* ${configure.compiler}]} {
global cxx_stdlib configure.cxx
if {![string match *g++-mp-* ${configure.cxx}]} {
return $cxx_stdlib
} else {
return macports-libstdc++
Expand Down

0 comments on commit 20ef256

Please sign in to comment.