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

Colin Walters walters at verbum.org
Sun Jan 6 18:28:16 UTC 2013


On Sun, 2013-01-06 at 16:34 +0800, Hongxu Jia 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=${@'${BUILD_ARCH}'.replace('_','-')}"

Shouldn't this be handled more generically for all native recipes?






More information about the Openembedded-core mailing list