#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 | -------------------------+---------------------- Changes (by css@…): * cc: egall@… (removed) * cc: egall@…, jeremyhu@… (added) * status: new => assigned Comment: Replying to [ticket:40648 macports@…]:
This appears to be caused by r110069 wherein the Portfile was configured to explicitly strip -O3 from the compiler modules shipped with CMake.
I really don't understand why this change was made. (Suits me for letting some tickets timeout due to new family additions!)
I'm not sure what the correct solution is. I'm hoping someone with a deeper knowledge has some ideas?
Unless there's a clear case for the change, IMO the behavior of the upstream port should be maintained. -- Ticket URL: <https://trac.macports.org/ticket/40648#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X