[MacPorts] #67307: glib2 compilation issues with clang

MacPorts noreply at macports.org
Fri Apr 28 13:00:32 UTC 2023


#67307: glib2 compilation issues with clang
-----------------------+----------------------
  Reporter:  rmottola  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard
      Port:  glib2     |
-----------------------+----------------------

Comment (by kencu):

 this needs fixing too:
 {{{
 -stdlib=libstdc++
 }}}

 as that stdlib, the system default, does not support c++11.

 Usually what is done is you add this to the Portfile:
 {{{
 compiler.cxx_standard 2011
 }}}

 and base adds the right things to make it work.

-- 
Ticket URL: <https://trac.macports.org/ticket/67307#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list