[MacPorts] #50440: qt5-qtbase: libc++ under Lion

MacPorts noreply at macports.org
Tue Jan 26 17:48:14 PST 2016


#50440: qt5-qtbase: libc++ under Lion
---------------------------+------------------------
  Reporter:  ctreleaven@…  |      Owner:  mcalhoun@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.4
Resolution:                |   Keywords:
      Port:  qt5-qtbase    |
---------------------------+------------------------

Comment (by mcalhoun@…):

 The [https://trac.macports.org/browser/trunk/dports/aqua/qt5/files/patch-
 mkspecs.diff?rev=144442 old version of the patch file] added the
 {{{-stdlib}}} flag to the {{{QMAKE_CXXFLAGS}}} and {{{QMAKE_LFLAGS}}}
 variables.[[BR]]
 There did not seem to be a need to add it to {{{QMAKE_CXXFLAGS_CXX11}}}
 and {{{QMAKE_LFLAGS_CXX11}}} as well.

 Apparently, part of qt5-qtbase uses {{{QMAKE_CXXFLAGS_CXX11}}} and
 {{{QMAKE_LFLAGS_CXX11}}} but '''not''' {{{QMAKE_CXXFLAGS}}} and
 {{{QMAKE_LFLAGS}}}.[[BR]]
 {{{-mmacosx-version-min=10.7}}} then causes the compiler to use libstdc++,
 which is the source of the error.

 r145151 fixed the problem on my system.[[BR]]
 Is the problem fixed on Lion as well?

-- 
Ticket URL: <https://trac.macports.org/ticket/50440#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list