summaryrefslogtreecommitdiff
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-02 17:51:45 +0100
commitb797cfbe605ab250a5eb714a7d5175861690ae6e (patch)
treed0485a430508b4f54e61de044607344f08b6fcf3
parentefb9f9f1d9a85a22991f99277f77b87784762cbb (diff)
downloadopenembedded-core-b797cfbe605ab250a5eb714a7d5175861690ae6e.tar.gz
openembedded-core-b797cfbe605ab250a5eb714a7d5175861690ae6e.tar.bz2
openembedded-core-b797cfbe605ab250a5eb714a7d5175861690ae6e.zip
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. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
# This binary needs to be compiled for the host architecture. This isn't pretty!
do_compile_prepend () {
if ${@base_contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then
- 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
+ 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
fi
}