[oe] [oe-commits] org.oe.dev aspell: fix compilation for powerpc

Koen Kooi koen at dominion.kabel.utwente.nl
Fri Jan 5 14:18:34 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Graeme Gregory schreef:
> On Tue, Jan 02, 2007 at 06:38:04PM +0100, Koen Kooi wrote:
>> Can we agree that .la files shouldn't contain references to tmp/work? Any volunteers for
>> adding the necessary logic to the appropriate bbclass?
>>
>> regards,
>>
> 
> I think adding some sed along the lines of this in gcc staging should
> cure the problem. As I beleive the "wrongness" leaks out of gcc when
> libtool starts making other .la files (it seem to just concatentate
> lines from dependant .la files)
> 
> sed -e "s|dependency_libs\s*=\s*.*|dependency_libs = '
> -L${CROSS_DIR}/${HOST_SYS}/lib -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc
> -lgcc_s '|"
> 
> I have previously used this in my build personally to fix such problems,
> but would appreciate someone giving a second look over and someone
> familiar with the appropriate .bbclasses to put it in the right place.

I think this can go into the do_stage_append() method of packages/gcc/gcc3-build-cross.inc
for libgcc, libgcc_s, libstdc++ and libsupc++.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFnl46MkyGM64RGpERApOiAKCVwR+zEIrDmo1tdrxSw/I0nHcpVgCdHi+a
+XRVPWUAmgz5z6wo6E7CmXg=
=G0jt
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list