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

Hongxu Jia hongxu.jia at windriver.com
Sat Jan 5 02:40:12 UTC 2013


On 12/20/2012 06:05 PM, Burton, Ross wrote:
> 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

This is only needed by glib-2.0-native, and didn't notice
this error for other recipes, so I just added it for glib-2.0-native.

Hongxu




More information about the Openembedded-core mailing list