From 892380133becb17d95ffae95de1df025c9d72088 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 28 Mar 2025 13:28:18 -0700 Subject: gimp: Remove -Qunused-arguments from complier cmdline with clang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This supresses the -msseX argument diagnostics on non-x86 architectures and meson wrongly decided to enable SSE on these biulds which ends up in │ │| In file included from ../gimp-3.0.2/app/gegl/gimp-gegl-loops-sse2.c:36: │ │| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/gimp/3.0.2/recipe-sysroot-native/usr/lib/clang/20/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and│ │ x64 architecture" │ │| 14 | #error "This header is only meant to be used on x86 and x64 architecture" │ │| | ^ │ │| In file included from ../gimp-3.0.2/app/gegl/gimp-gegl-loops-sse2.c:36: Signed-off-by: Khem Raj --- conf/nonclangable.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 1c2d824..72a9b9a 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -340,6 +340,7 @@ TUNE_CCARGS:remove:pn-tesseract:toolchain-clang = "-Qunused-arguments" TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments" TUNE_CCARGS:remove:pn-btrfs-tools:toolchain-clang = "-Qunused-arguments" TUNE_CCARGS:append:pn-btrfs-tools:toolchain-clang = " -Werror=unused-command-line-argument" +TUNE_CCARGS:remove:pn-gimp:toolchain-clang = "-Qunused-arguments" # Disable altivec on ppc32 #/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'? -- cgit v1.2.3-54-g00ecf