mirror of
https://git.yoctoproject.org/poky
synced 2026-04-24 12:32:11 +02:00
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>
10 lines
493 B
HTML
10 lines
493 B
HTML
BASE_PACKAGE_ARCH = "core2"
|
|
TARGET_CC_ARCH = "-m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse"
|
|
#MOBLIN_CFLAGS = "-Os -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables"
|
|
|
|
PACKAGE_EXTRA_ARCHS += "x86 i386 i486 core2"
|
|
|
|
# Work around a gcc bug for core2 which caused matchbox-panel to segfault
|
|
# and possibly others.
|
|
FULL_OPTIMIZATION_pn-gtk+ = "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"
|