From 9484fb04c0ed8b3e08c6773662dc7a0f01cb39a8 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 3 May 2015 11:27:24 +0100 Subject: directfb: Improve CFLAGS handling for x86 The problem with filter_out is that it expands the variable meaning overrides to sub components can get lost. This has happening to the security flags meaning directfb failed in lsb builds. Use _remove instead of filter_out since it gives much more predictable results. Signed-off-by: Richard Purdie --- meta/recipes-graphics/directfb/directfb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc index 13495b167d..e863b12094 100644 --- a/meta/recipes-graphics/directfb/directfb.inc +++ b/meta/recipes-graphics/directfb/directfb.inc @@ -42,7 +42,7 @@ EXTRA_OECONF = "\ #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)}" +TARGET_CFLAGS_remove_x86 = "-fno-omit-frame-pointer" #PACKAGES_DYNAMIC += "^directfb-inputdrivers-.*" # -- cgit 1.2.3-korg