directfb:filter out -fno-omit-frame-pointer option on x86 arch

directfb need -fomit-frame-pointer option of gcc to build some inline
asm code about mmx. But once -fno-omit-frame-pointer was added
into TARGET_CFLAGS. That will cause directfb build error on x86 arch.

(From OE-Core rev: 07f4030909dcc14c4ce4d6d3690a192c0b4040a9)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Roy.Li 2013-06-14 15:15:22 +08:00 committed by Richard Purdie
parent a83d489daf
commit 3870250650
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ EXTRA_OECONF = "\
--disable-mesa \
"
#Once -fno-omit-frame-pointer option of gcc is added into TARGET_CLFAGS as default
#this will cause directfb build failure on x86 arch, so filter out it.
TARGET_CFLAGS_x86 := "${@oe_filter_out('-fno-omit-frame-pointer', '${TARGET_CFLAGS}', d)}"
#PACKAGES_DYNAMIC += "^directfb-inputdrivers-.*"
#
#python populate_packages_prepend () {