From b2f192faabe412adce79534e22efe9fb69ee40e2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 21 Jul 2006 10:10:31 +0000 Subject: Rename /openembedded/ -> /meta/ git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/flow-lossage.bbclass | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 meta/classes/flow-lossage.bbclass (limited to 'meta/classes/flow-lossage.bbclass') diff --git a/meta/classes/flow-lossage.bbclass b/meta/classes/flow-lossage.bbclass new file mode 100644 index 000000000..3e841e3ca --- /dev/null +++ b/meta/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) +} -- cgit v1.2.3