[oe] TARGET_CC_ARCH += "${LDFLAGS}" ??

Koen Kooi k.kooi at student.utwente.nl
Mon Apr 27 21:19:30 UTC 2009


On 27-04-09 21:40, Leon Woestenberg wrote:
> Hello,
>
> I just came across this fix:
>
> http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=413cc98aa563c9e6104d1104d5b24987ab9d12f8
>
> which does:
>
> +TARGET_CC_ARCH += "${LDFLAGS}"
>
> to fix LDFLAGS QA(GNU-hash).
>
> but doesn't this approach abuse TARGET_CC_ARCH?

It is, but the alternative is to patch each and every 
(c)makefile/sconscript/bjam for the project, which is very time 
consuming. If you have the time, patch the buildsystem, but realize that 
you will need to maintain those patches for every release if you don't 
get them upstream.

regards,

Koen





More information about the Openembedded-devel mailing list