patch: c/cxxflags for static libraries

Alexander Neundorf neundorf at kde.org
Mon Jul 17 18:02:42 CEST 2006


On Monday 17 July 2006 00:12, Simon Hausmann wrote:
> On Sunday 16. July 2006 20:31, Thiago Macieira wrote:
> [...]
>
> > If you add a .o that happens to be in an ar archive into a shared
> > library, you've got a convenience library, not a static library. In those
> > cases, just link the .o once and for all. There's no need to create the
> > archive.
>
> Yes, but as long as the build system offers this feature people will use
> it. So I suggest that we either drop the feature alltogether or we use
> -fPIC there as well. But offering it as feature that only works on i386
> when linked into a final shared object is not a good idea IMHO.

Building convenience libs is not supported out-of-the-box by cmake.
What should we drop ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list