summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2014-09-02 01:53:40 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-03 11:09:03 +0100
commitcdb77523a56b3e0bc7625614bfb8066b8c2ff52f (patch)
treebd766fe63751cd8440f322a4c5f935d8311ef8d0 /meta
parent60b8a574dcd939434f5313bddbb2cf1787a9319c (diff)
downloadpoky-cdb77523a56b3e0bc7625614bfb8066b8c2ff52f.tar.gz
pango / ptest: clean CFLAGS for host binary
The binary gen-all-unicode needs to be compiled for the host architecture, the CFLAGS passed to target system could cause build issues for it. (From OE-Core rev: b797cfbe605ab250a5eb714a7d5175861690ae6e) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/pango/pango.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index 1ad46a3bf6..b59d33d14f 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -67,7 +67,7 @@ fi
67# This binary needs to be compiled for the host architecture. This isn't pretty! 67# This binary needs to be compiled for the host architecture. This isn't pretty!
68do_compile_prepend () { 68do_compile_prepend () {
69 if ${@base_contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then 69 if ${@base_contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then
70 make CC="${BUILD_CC}" AM_CPPFLAGS="$(pkg-config-native --cflags glib-2.0)" gen_all_unicode_LDADD="$(pkg-config-native --libs glib-2.0)" -C ${B}/tests gen-all-unicode 70 make CC="${BUILD_CC}" CFLAGS="" AM_CPPFLAGS="$(pkg-config-native --cflags glib-2.0)" gen_all_unicode_LDADD="$(pkg-config-native --libs glib-2.0)" -C ${B}/tests gen-all-unicode
71 fi 71 fi
72} 72}
73 73