summaryrefslogtreecommitdiffstats
path: root/recipes/mesa
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-08-02 12:03:54 -0700
committerKhem Raj <raj.khem@gmail.com>2010-08-03 12:46:06 -0700
commit3c5585b87384ba9d1c641df73a03af8211881d3f (patch)
tree706c009e0aaf0f601bcd0a48528a1963c675882e /recipes/mesa
parent57be25899431f888cbaa313c09d383104dffb56e (diff)
downloadopenembedded-3c5585b87384ba9d1c641df73a03af8211881d3f.tar.gz
mesa_7.2.bb: Tinker DEBUG_OPTIMIZATION to avoid gcc ICE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/mesa')
-rw-r--r--recipes/mesa/mesa_7.2.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/mesa/mesa_7.2.bb b/recipes/mesa/mesa_7.2.bb
index 43cde679a1..2ff99caf4f 100644
--- a/recipes/mesa/mesa_7.2.bb
+++ b/recipes/mesa/mesa_7.2.bb
@@ -1,2 +1,7 @@
# This is a dummy package so OE can use the poky mesa files
require mesa-dri_${PV}.bb
+
+# override debug optimization for ARM when compiling in thumb mode
+# gcc 4.4+ ICEs with -O1 -fno-omit-frame-pointer
+
+DEBUG_OPTIMIZATION_thumb = "-O1 -g"