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

MacPorts noreply at macports.org
Tue Oct 15 18:30:27 PDT 2013


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

Comment (by css@…):

 I'm not familiar with the operation of the portgroup, so I'll need some
 assistance with correcting it. I think we just need something like the
 following in cmake-1.0.tcl:

 {{{
 #!tcl
 if {${configure.optflags} != ""} {
   configure.args-append -DCMAKE_C_FLAGS_RELEASE="${configure.optflags}"
 -DCMAKE_CXX_FLAGS_RELEASE="${configure.optflags}"
 }
 }}}

 What's a portgroup port using these flags? Does the portgroup need a
 version increment of some kind?

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


More information about the macports-tickets mailing list