diff options
Diffstat (limited to 'classes/flow-lossage.bbclass')
-rw-r--r-- | classes/flow-lossage.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/flow-lossage.bbclass b/classes/flow-lossage.bbclass index e69de29bb2..3e841e3cae 100644 --- a/classes/flow-lossage.bbclass +++ b/classes/flow-lossage.bbclass @@ -0,0 +1,5 @@ +# 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) +} |