Default CFLAGS clobbering
Michael Nottebrock
michaelnottebrock at gmx.net
Sat May 22 14:23:33 BST 2004
On Saturday 22 May 2004 14:56, Simon Hausmann wrote:
> I think for all the users out there compiling KDE on their own the -O2
> makes simply sense.
>
> Instead of sed'ing configure I find it much simpler to simply set
> CFLAGS/CXXFLAGS as environment variables. The options kde adds get
> prepended, so your -Owhateveryouwant easily overrides the -O2 kde uses by
> default, with gcc.
I was under the wrong impression the highest specified optimization wins -
perhaps I remember an old gcc bug?
It's still ugly to clobber the default case with optional flags, though.
--
,_, | Michael Nottebrock | lofi at freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040522/5ed3b590/attachment.sig>
More information about the kde-core-devel
mailing list