Skip to content

Commit 8923801

Browse files
committed
gimp: Remove -Qunused-arguments from complier cmdline with clang
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 <[email protected]>
1 parent fa1b780 commit 8923801

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

conf/nonclangable.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ TUNE_CCARGS:remove:pn-tesseract:toolchain-clang = "-Qunused-arguments"
340340
TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments"
341341
TUNE_CCARGS:remove:pn-btrfs-tools:toolchain-clang = "-Qunused-arguments"
342342
TUNE_CCARGS:append:pn-btrfs-tools:toolchain-clang = " -Werror=unused-command-line-argument"
343+
TUNE_CCARGS:remove:pn-gimp:toolchain-clang = "-Qunused-arguments"
343344

344345
# Disable altivec on ppc32
345346
#/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'?

0 commit comments

Comments
 (0)