[MacPorts] #40648: cmake @2.8.11.2 does not set optimization flags in release

MacPorts noreply at macports.org
Sat Nov 2 10:52:28 PDT 2013


#40648: cmake @2.8.11.2 does not set optimization flags in release
-------------------------+--------------------
  Reporter:  macports@…  |      Owner:  css@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:  fixed       |   Keywords:
      Port:  cmake       |
-------------------------+--------------------

Comment (by Torsten.Maehne@…):

 @jeremyhu: Thanks for having applied so quickly my patches to the CMake
 PortGroup and the CMake port!

 Your additional modification to honor configure.cxx_stdlib is incomplete,
 as it will be only considered for the Release build type and not the Debug
 build type used by the +debug variant of the PortGroup. You have to add
 {{{${cxx_stdlibflags}}}} also to the {{{CMAKE_CXX_FLAGS_DEBUG}}} in the
 +debug variant.

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


More information about the macports-tickets mailing list