gimp: Disable vector icons on mips/rv32 using clang

The infamous segfaults are back when building with clang

| make[3]: *** [Makefile:2395: 24/gimp-char-picker.svg] Segmentation fault

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Khem Raj
2021-10-25 10:14:41 -07:00
parent c2aafe4737
commit 19465da276

View File

@@ -51,6 +51,9 @@ EXTRA_OECONF = "--disable-python \
--disable-check-update \
--without-wmf"
EXTRA_OECONF:append:toolchain-clang:riscv32 = " --disable-vector-icons"
EXTRA_OECONF:append:toolchain-clang:mips = " --disable-vector-icons"
do_configure:append() {
find ${B} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
find ${B} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g