summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-06 17:45:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-09 17:43:41 +0100
commita7b3f80b1bfe3361fc9e82e083268a9153e68570 (patch)
tree2ec00207b93f2cefffbf770115fc2ad0ec4d4c24
parent99e842451fa631e4b0f617179d60d5175a62fde6 (diff)
downloadpoky-a7b3f80b1bfe3361fc9e82e083268a9153e68570.tar.gz
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>
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb b/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
index 8f132d55c6..cd7087721f 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
@@ -48,7 +48,7 @@ EXTRA_OECONF:append:mipsarcho32 = " --with-large_color_index=0"
48EXTRA_OECONF:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" 48EXTRA_OECONF:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}"
49EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" 49EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}"
50 50
51CC += "-std=gnu17" 51TARGET_CFLAGS += "-std=gnu17"
52 52
53# Uses autoconf but not automake, can't do out-of-tree 53# Uses autoconf but not automake, can't do out-of-tree
54inherit autotools-brokensep pkgconfig 54inherit autotools-brokensep pkgconfig