aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-10-25 10:14:41 -0700
committerKhem Raj <raj.khem@gmail.com>2021-10-25 10:40:50 -0700
commit67bc8bd796c79f7e32bafe4d26cf3c111d1ede70 (patch)
treef758feb7fcc04fe46b4b0f948e4e6f239fba15a8
parentc2aafe4737043c3b339a0283e9c7060a89bb21e5 (diff)
downloadmeta-openembedded-contrib-67bc8bd796c79f7e32bafe4d26cf3c111d1ede70.tar.gz
gimp: Disable vector icons on rv32/clang
The infamous segfaults are back on rv32 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>
-rw-r--r--meta-gnome/recipes-gimp/gimp/gimp_2.10.24.bb2
1 files changed, 2 insertions, 0 deletions
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..2945591881 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,8 @@ EXTRA_OECONF = "--disable-python \
--disable-check-update \
--without-wmf"
+EXTRA_OECONF:append:toolchain-clang:riscv32 = " --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