skia: Disable musttail on ppc64el
authorCarsten Schoenert <c.schoenert@t-online.de>
Tue, 18 Jul 2023 14:20:51 +0000 (16:20 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Fri, 14 Jun 2024 11:26:00 +0000 (13:26 +0200)
Based on https://cgit.freebsd.org/ports/commit/?id=8efc1c41f45d0d7c7fe2b9c05128bd00db9c397d

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

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

index 766bb0c11dc2b2b5a5d88669592b75f6225de4f0..88c6cb23965f09ff09f0217403489606fc85823b 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)
+#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && !defined(__powerpc__)
     #define SK_HAS_MUSTTAIL 1
 #else
     #define SK_HAS_MUSTTAIL 0