One of these last changes seems to cause: http://errors.yoctoproject.org/Errors/Details/155766/
On Mon, Sep 11, 2017 at 8:47 PM, Andre McCurdy <[email protected]> wrote: > On Mon, Sep 11, 2017 at 8:10 AM, Khem Raj <[email protected]> wrote: > > This is required so it can override the CC settings when > > clang is used because meta-clang uses toolchain-clang > > override to set CC and friends so we need to use higher > > order override, forcevariable is highest order. > > Just for reference, ${LIBCOVERRIDE} is the highest order over-ride, > forcevariable is second. > > > Signed-off-by: Khem Raj <[email protected]> > > --- > > meta-initramfs/classes/klibc.bbclass | 13 ++++++------- > > 1 file changed, 6 insertions(+), 7 deletions(-) > > > > diff --git a/meta-initramfs/classes/klibc.bbclass > b/meta-initramfs/classes/klibc.bbclass > > index f864104cf..2aacf241e 100644 > > --- a/meta-initramfs/classes/klibc.bbclass > > +++ b/meta-initramfs/classes/klibc.bbclass > > @@ -3,13 +3,12 @@ DEPENDS =+ "klcc-cross" > > > > # Default for klcc is to build static binaries. > > # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version. > > +CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}" > > +CC_forcevariable_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc > ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork" > > > > -export CC = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}" > > -export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc > ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork" > > - > > -export CPP = "${CC} -E" > > +CPP_forcevariable = "${CC} -E" > > > > # klcc uses own optimizations by default. See klcc(1) man file. > > -export CFLAGS="" > > -export CPPFLAGS="" > > -export LDFLAGS="" > > +CFLAGS_forcevariable="" > > +CPPFLAGS_forcevariable="" > > +LDFLAGS_forcevariable="" > > -- > > 2.14.1 > > > > -- > > _______________________________________________ > > Openembedded-devel mailing list > > [email protected] > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
