Setting compilation parameter for qt within portfile
KonaBlend
kona8lend at gmail.com
Fri Dec 2 21:23:02 PST 2011
On 2011-12-03, at 12:11 AM, Nicolas Pavillon wrote:
> This means that putting
>
> configure.pre_args "QMAKE_CFLAGS_RELEASE-=-O2 QMAKE_CXXFLAGS_RELEASE-=-O2"
>
> indeed cancels the optimization. The patched way is however better for the particular case of qtiplot, as it specifically cancels optimization in the module which hangs otherwise.
Suffixing the varname with a hyphen didn't occur to me. Nice to know!
--KonaBlend
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20111203/edd6b0fd/attachment.html>
More information about the macports-dev
mailing list