Passing compiler options via CC is error prone when we allow toolchain
selection. Use TARGET_CFLAGS instead.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
EXTRA_OECONF:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}"
EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}"
-CC += "-std=gnu17"
+TARGET_CFLAGS += "-std=gnu17"
# Uses autoconf but not automake, can't do out-of-tree
inherit autotools-brokensep pkgconfig