Optimization flags in qmake.spec

Pierre Queinnec pmq at macports.org
Mon Jun 11 02:02:47 PDT 2007


Hi Jochen,

IIRC Apple recommends -Os, not -O2.
Cheers,
-- Pierre


Jochen Küpper wrote:
> When upgrading qwt I realizd that all qmake-generated makefiles use only 
> -Os compiler optimization. This is due to the following line in 
> /opt/local/share/qt4/mkspecs/macx-g++/qmake.conf:
>   QMAKE_CFLAGS_RELEASE    = -Os
> Wouldn't it be more useful on Standard Mac systems to change this to 
> -O2, or even just $CXXFLAGS from MacPorts?
> Then other Qt-software using qmake could run faster, and typically space 
> is not an issue...
> 
> Greetings,
> Jochen
> --Einigkeit und Recht und Freiheit                
> http://www.Jochen-Kuepper.de
>     Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
>         Sex, drugs and rock-n-roll
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users




More information about the macports-users mailing list