handling of configure.optflags in the cmake portgroup

René J.V. Bertin rjvbertin at gmail.com
Thu Sep 25 03:20:52 PDT 2014


Question: in cmake-1.0.tcl, you remove the default optimisation flags through configure.args-append, but only in CMAKE_C{,XX}_FLAGS_RELEASE . Nothing is done for portfiles or variants that request the RelWithDebInfo build type. Is there a reason for that (other than "you know debugging is worse with -O3 than -O2 so we ain't gonna let you try" ;) ) ?

Thanks,
René


More information about the macports-users mailing list