skia: Disable musttail on mips64
authorCarsten Schoenert <c.schoenert@t-online.de>
Sun, 23 Jul 2023 07:01:29 +0000 (09:01 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Wed, 21 Feb 2024 16:18:14 +0000 (17:18 +0100)
Basically also based on https://cgit.freebsd.org/ports/commit/?id=8efc1c41f45d0d7c7fe2b9c05128bd00db9c397d
just extended about the macro __mips64

Gbp-Pq: Topic porting-mips64el
Gbp-Pq: Name skia-Disable-musttail-on-mips64.patch

gfx/skia/skia/src/core/SkRasterPipeline.h

index 88c6cb23965f09ff09f0217403489606fc85823b..41ae2e893cf34d464066d96981e11092c4e8798c 100644 (file)
@@ -24,7 +24,7 @@ enum SkColorType : int;
 struct SkImageInfo;
 struct skcms_TransferFunction;
 
-#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && !defined(__powerpc__)
+#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && !defined(__powerpc__) && !defined(__mips64)
     #define SK_HAS_MUSTTAIL 1
 #else
     #define SK_HAS_MUSTTAIL 0