[oe] sane-toolchain-glibc.inc and old g++ versions
Holger Schurig
hs4233 at mail.mn-solutions.de
Mon Mar 30 14:42:45 UTC 2009
On Monday 30 March 2009 16:27:37 Martin Dietze wrote:
> | CXXFLAGS += "-fvisibility-inlines-hidden"
c) enhance bitbake so that you can do
include sane-toolchain-glibc.inc
# My old compiler doesn't like this:
CXXFLAGS -= "-fvisibility-inlines-hidden"
You'd do this in lib/bb/parse/parse_py/ConfHandler.py, and need
to start with __config_regexp__. Then search for "prepend" in
the source. Near this place you'll need to add your new "remove"
handling.
qmake from Qt 3.x and 4.x for example has this feature. It also
has the cool feature of
XXX *= blah
XXX *= muh
XXX *= blah
... and afterwards, "blah" is only once in ${XXX}.
More information about the Openembedded-devel
mailing list