[PATCH] autodetecting lib suffix

Andras Mantia amantia at kde.org
Thu Jan 19 17:41:34 GMT 2006


On Thursday 19 January 2006 13:28, Dirk Mueller wrote:
> On Wednesday 18 January 2006 15:38, Andras Mantia wrote:
> > Yes, I actually tested -m32 to simulate a 32bit build. Shouldn't
> > gcc/ld -m32 pick up the /lib/libc.so instead of the one from /lib64
> > (and in this case the KDE libs should go to $KDEDIRS/lib)? At least
> > my intention was to do this way.
>
> Ah! so $CC contains $CPPFLAGS for you as well?  so you tried
>
> CC="gcc -m32" ./configure?
> I was thinking about the case
>
> CPPFLAGS="-m32" CC="gcc" ./configure

With both versions of the patch and  in both cases the result is:

"using lib directory suffix 64"

> If both cases work fine then I'm happy with your patch.

If you think it's OK, please commit the version you like better.
Actually, in the first one you need "grep" instead of "grep -E", while 
in the second one there is a typo (sace_ldflags=$LDFLAGS instead of 
save_ldflags=$LDFLAGS).

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060119/5a7c1d1d/attachment.sig>


More information about the kde-core-devel mailing list