On 1 July 2017 at 15:53, Khem Raj <[email protected]> wrote: > > do_compile() { > > - ${CC} helloworld.c -o helloworld > > + ${CC} ${LDFLAGS} helloworld.c -o helloworld > > perhaps doing compile and link in two steps where CFLAGS and LDFLAGS are > used would be clearer > > something like > > ${CC} ${CFLAGS} -c helloworld.c -o helloworld.o > ${LD} ${LDFLAGS} helloworld.o -o helloworld
Yes, we're also missing CFLAGS and CPPFLAGS, so either throw them all in a single call or do the two parts separately. Ross
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
