mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
60b8a574dc
commit
cdb77523a5
@@ -67,7 +67,7 @@ fi
|
|||||||
# This binary needs to be compiled for the host architecture. This isn't pretty!
|
# This binary needs to be compiled for the host architecture. This isn't pretty!
|
||||||
do_compile_prepend () {
|
do_compile_prepend () {
|
||||||
if ${@base_contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user