into bkbits.net:/repos/n/nslu2-linux/openembedded
2004/12/29 16:25:52-06:00 ti.com!kergoth
Change flow-lossage.bbclass to use an anonymous python function rather than
:=. This avoids the immediate variable expansion, which had the potential to
cause some unintended side effects, like 'CFLAGS' no longer matching
'TARGET_CFLAGS' in certain circumstances.
BKrev: 41d32ef1mq97PRKDWN6QJ7BdVFyiFA
+# gcc-3.4 blows up in gtktext with -frename-registers on arm-linux
+python () {
+ cflags = (bb.data.getVar('CFLAGS', d, 1) or '').replace('-frename-registers', '')
+ bb.data.setVar('CFLAGS', cflags, d)
+}