diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-03-28 13:28:18 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-03-28 20:54:38 -0700 |
commit | 892380133becb17d95ffae95de1df025c9d72088 (patch) | |
tree | c657cb4457992bed66f5e42c8a7c7907074f1b1c | |
parent | fa1b780b8b9fafed08204719ab94a56e20d6a03a (diff) | |
download | meta-clang-892380133becb17d95ffae95de1df025c9d72088.tar.gz |
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 <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 1 |
1 files changed, 1 insertions, 0 deletions
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" | |||
340 | TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments" | 340 | TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments" |
341 | TUNE_CCARGS:remove:pn-btrfs-tools:toolchain-clang = "-Qunused-arguments" | 341 | TUNE_CCARGS:remove:pn-btrfs-tools:toolchain-clang = "-Qunused-arguments" |
342 | TUNE_CCARGS:append:pn-btrfs-tools:toolchain-clang = " -Werror=unused-command-line-argument" | 342 | TUNE_CCARGS:append:pn-btrfs-tools:toolchain-clang = " -Werror=unused-command-line-argument" |
343 | TUNE_CCARGS:remove:pn-gimp:toolchain-clang = "-Qunused-arguments" | ||
343 | 344 | ||
344 | # Disable altivec on ppc32 | 345 | # Disable altivec on ppc32 |
345 | #/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'? | 346 | #/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'? |