mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
ghostscript: Use TARGET_CFLAGS to pass compiler options
Passing compiler options via CC is error prone when we allow toolchain selection. Use TARGET_CFLAGS instead. (From OE-Core rev: 2091ebf845004040a6227d18cfa6bb508d1b9c9f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
99e842451f
commit
a7b3f80b1b
|
@ -48,7 +48,7 @@ EXTRA_OECONF:append:mipsarcho32 = " --with-large_color_index=0"
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user