summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-03-16 14:50:57 -0700
committerSaul Wold <sgw@linux.intel.com>2011-03-16 17:46:48 -0700
commit806df0f8de01b6fbe0e53b2d3b226f31fca7fc5c (patch)
tree24a0f65e0615b662b5001d4d62eeb293f3bce8cc /meta/conf/machine
parent47bbe6afe7c3977776cf54dd13bcf7953353c823 (diff)
downloadpoky-806df0f8de01b6fbe0e53b2d3b226f31fca7fc5c.tar.gz
atom-pc: work around gcc bug for core2
Fixes [YOCTO #853] Without these added optimization flags, the matchbox-panel (and possibly other) applications would segfault. This patch applies the changes to all machines derived from atom-pc.conf. [Tweaked by RP to apply to gtk+ only] (From OE-Core rev: 5eb24b1cb57d1e0b43dfc993a635cd2b58d58fcf) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r--meta/conf/machine/include/tune-atom.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-atom.inc b/meta/conf/machine/include/tune-atom.inc
index 66d960ac4f..2b4907fa3c 100644
--- a/meta/conf/machine/include/tune-atom.inc
+++ b/meta/conf/machine/include/tune-atom.inc
@@ -3,3 +3,7 @@ TARGET_CC_ARCH = "-m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse"
3#MOBLIN_CFLAGS = "-Os -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables" 3#MOBLIN_CFLAGS = "-Os -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables"
4 4
5PACKAGE_EXTRA_ARCHS += "x86 i386 i486 core2" 5PACKAGE_EXTRA_ARCHS += "x86 i386 i486 core2"
6
7# Work around a gcc bug for core2 which caused matchbox-panel to segfault
8# and possibly others.
9FULL_OPTIMIZATION_pn-gtk+ = "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"