mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 16:07:25 +00:00
When cross compiling, ibus builds unicode-parser with CC_FOR_BUILD and the glib flags from PKG_CONFIG_FOR_BUILD. That defaults to the native pkg-config binary, but with the target PKG_CONFIG_PATH and sysroot, so the build tool is compiled against the target glib headers. On 32-bit targets glib's static assertions then fail with the 64-bit host compiler: glib/gmacros.h:910:31: error: static assertion failed: "Expression evaluates to false" Pass pkg-config-native, which uses the native sysroot, as PKG_CONFIG_FOR_BUILD. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Dependencies
This layer depends on:
URI: git://git.openembedded.org/openembedded-core branch: master
URI: git://git.openembedded.org/meta-openembedded branch: master
Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-gnome]' in the subject'
When sending single patches, please use something like: git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix='meta-gnome][PATCH'
Layer maintainer: Khem Raj raj.khem@gmail.com