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

MacPorts noreply at macports.org
Wed Oct 23 07:44:06 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 johnsonsr@…):

 CSS, until you get an answer to your question, I think you should remove
 the '-O3' deletion from the post-patch scripts. The consequence of having
 a few cmake macports compiling with '-O3' is much less serious than the
 consequence of every user-installed code marked 'Release' unintentionally
 being compiled with -O0. Again, the current issue is really severe because
 upgrading their CMake installations in the future will not fix software
 they've already configured with CMake -- users will have to delete all
 their CMakeCache files to get the correct defaults for
 CMAKE_CXX_FLAGS_RELEASE.

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


More information about the macports-tickets mailing list