diff options
Diffstat (limited to 'meta/classes/flow-lossage.bbclass')
-rw-r--r-- | meta/classes/flow-lossage.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/flow-lossage.bbclass b/meta/classes/flow-lossage.bbclass new file mode 100644 index 0000000000..3e841e3cae --- /dev/null +++ b/meta/classes/flow-lossage.bbclass | |||
@@ -0,0 +1,5 @@ | |||
1 | # gcc-3.4 blows up in gtktext with -frename-registers on arm-linux | ||
2 | python () { | ||
3 | cflags = (bb.data.getVar('CFLAGS', d, 1) or '').replace('-frename-registers', '') | ||
4 | bb.data.setVar('CFLAGS', cflags, d) | ||
5 | } | ||