summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-03 11:27:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-03 11:43:52 +0100
commit6773af5d8c501b3938d0d03287c2f1719080c7c8 (patch)
treefee719e7c84329a06592a011d70c9d00aaad18b9 /meta/recipes-graphics
parentd6507726bf5eff1b1af5bdcde4279aab9d1e6a8d (diff)
downloadpoky-6773af5d8c501b3938d0d03287c2f1719080c7c8.tar.gz
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. (From OE-Core rev: 9484fb04c0ed8b3e08c6773662dc7a0f01cb39a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/directfb/directfb.inc2
1 files changed, 1 insertions, 1 deletions
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 = "\
42 42
43#Once -fno-omit-frame-pointer option of gcc is added into TARGET_CLFAGS as default 43#Once -fno-omit-frame-pointer option of gcc is added into TARGET_CLFAGS as default
44#this will cause directfb build failure on x86 arch, so filter out it. 44#this will cause directfb build failure on x86 arch, so filter out it.
45TARGET_CFLAGS_x86 := "${@oe_filter_out('-fno-omit-frame-pointer', '${TARGET_CFLAGS}', d)}" 45TARGET_CFLAGS_remove_x86 = "-fno-omit-frame-pointer"
46 46
47#PACKAGES_DYNAMIC += "^directfb-inputdrivers-.*" 47#PACKAGES_DYNAMIC += "^directfb-inputdrivers-.*"
48# 48#