aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-03-16 14:36:23 -0700
committerDarren Hart <dvhart@linux.intel.com>2011-03-16 15:36:46 -0700
commit0f633ae9cad8ce759dfa965e2b9aa1fce6c4adb7 (patch)
tree8b355cb76073f1f2a60e05183cb383d63f7c79cb
parent648b2c8f220f0fb6d823aab15a7e14494e20a02b (diff)
downloadmeta-intel-0f633ae9cad8ce759dfa965e2b9aa1fce6c4adb7.tar.gz
meta-intel-0f633ae9cad8ce759dfa965e2b9aa1fce6c4adb7.tar.bz2
meta-intel-0f633ae9cad8ce759dfa965e2b9aa1fce6c4adb7.zip
n450: add optimization flags to gtk+ for n450 to avoid gcc core2 bug
Fixes [YOCTO #853] Without these added optimization flags, the matchbox-panel (and possibly other) applications would segfault. This patch applies the change only to the gtk+ recipe for the n450 bsp. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Ke Yu <ke.yu@intel.com>
-rw-r--r--meta-n450/recipes-gnome/gtk+/gtk+_2.22.1.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-n450/recipes-gnome/gtk+/gtk+_2.22.1.bbappend b/meta-n450/recipes-gnome/gtk+/gtk+_2.22.1.bbappend
new file mode 100644
index 00000000..3af41873
--- /dev/null
+++ b/meta-n450/recipes-gnome/gtk+/gtk+_2.22.1.bbappend
@@ -0,0 +1,2 @@
+#-fomit-frame-pointer in default FULL_OPTIMIZATION will cause matchbox-panel segfault on n450
+FULL_OPTIMIZATION_n450 = "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"