[oe] sane-toolchain-glibc.inc and old g++ versions
Holger Schurig
hs4233 at mail.mn-solutions.de
Mon Mar 30 14:51:11 UTC 2009
Upon thinking about that, it occured to me that you can do this
without modifying bitbake: by using python code that modifies
CXXFLAGS and an anonymous function.
For example, in any *.bb, *.inc, *.conf and *.bbclass file you
can use anonmyous python functions like this:
SRCDATE=${@bb.data.getVar('PV', d, 1)[9:]}
And no one hinders you to do:
CXXFLAGS=${@bb.data.getVar('CXXFLAGS', d,
1).replace(" -fvisibility-inlines-hidden",""))
That's pretty all untested, but I think it will work. One recipe
that uses this trick is mesa/mesa_6.0.1.bb.
More information about the Openembedded-devel
mailing list