From 19465da276b06bd70d8c4fcd32e4e52c974b93be Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 25 Oct 2021 10:14:41 -0700 Subject: gimp: Disable vector icons on mips/rv32 using clang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Cc: Andreas Müller --- meta-gnome/recipes-gimp/gimp/gimp_2.10.24.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.24.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.24.bb index dbb576a10b..4b0f43b14a 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.24.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.24.bb @@ -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 -- cgit 1.2.3-korg