diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb b/meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb index 4f6cb45412..4cea898432 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb @@ -47,7 +47,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)}" -TARGET_CFLAGS += "-std=gnu17 -fPIC" +TARGET_CFLAGS += "-std=gnu17 -Wno-error=declaration-after-statement -fPIC" # Uses autoconf but not automake, can't do out-of-tree inherit autotools-brokensep pkgconfig