BUILD_CC, but the target CFLAGS were still there, preventing the target
cflags containing anything which only works with TARGET_CC. Fixed to use
BUILD_CC, BUILD_CFLAGS and BULD_LDFLAGS - still a hack because these come
in 'by magic' from the environment, but that's fine in OE builds because
they are always set by the do_compile script.
gen: gen.c
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
-+ cc ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
++ ${BUILD_CC} ${EXT_CFLAGS} ${BUILD_CFLAGS} ${ALL_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
rbtdb64.@O@: rbtdb.c