When compile glib-2.0-native with GCC 4.3.4 on x86 host, the GCC needs
`-march' to let the atomic operations (lock free) be available. Pass
`-march=native' to cause the compiler to auto-detect the architecture of the
build computer, If the auto-detect is unsuccessful the option has no effect.
Add an option `-march' to BUILD_CFLAGS, GCC 4.3.4 on x86 host needs this
option to let the atomic operations (lock free) be available while it
is used to compile glib-2.0-native.
[YOCTO #3563]
Signed-off-by: Hongxu Jia hongxu@windriver.com
---
meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb |
Add an option `-march' to BUILD_CFLAGS, GCC 4.3.4 on x86 host needs this
option to let the atomic operations (lock free) be available while it
is used to compile glib-2.0-native.
[YOCTO #3563]
Signed-off-by: Hongxu Jia hongxu@windriver.com
---
meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb |