From: "Roy.Li" <rongqing...@windriver.com> 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.
Signed-off-by: Roy.Li <rongqing...@windriver.com> --- meta/recipes-graphics/directfb/directfb.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc index aecc834..cff8a7f 100644 --- a/meta/recipes-graphics/directfb/directfb.inc +++ b/meta/recipes-graphics/directfb/directfb.inc @@ -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 () { -- 1.7.10.4 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core