[OE-core] [PATCH 1/1] glib-2.0-native:add option march to BUILD_CFLAGS

Burton, Ross ross.burton at intel.com
Thu Dec 20 10:05:27 UTC 2012


On 20 December 2012 08:10, Hongxu Jia <hongxu.jia at windriver.com> wrote:
> +# Add option -march to BUILD_CFLAGS in order to let the atomic operations
> +# ("lock free") be available while using old version GCC on x86 host to
> +# compile glib-2.0-native
> +BUILD_CFLAGS += "-march=`echo ${BUILD_ARCH} | sed 's/_/-/'`"

Should we do this inside bitbake.conf instead of just in glib?

Ross




More information about the Openembedded-core mailing list